小编phi*_*hil的帖子

在github中分叉,克隆并推送wiki

我多次搜索这个问题,但仍然无法解决它.

假设我从user1分叉一个repo(命名为repo1),现在我想分叉repo1的wikipage,当你分叉回购时,github不会为你做这个.

我试过了:

    git clone https://github.com/user1/repo1.wiki.git
    git remote add my-fork https://github.com/myid/repo1.wiki.git
    git push my-fork master
Run Code Online (Sandbox Code Playgroud)

但终端说:

    fatal: remote error: access denied or repository not exported: /3/nw/32/2b/9e/135236793/71478887.wiki.git
Run Code Online (Sandbox Code Playgroud)

这意味着我无法成功地将这个本地wiki推送到我的分叉回购的wikipage.

有没有人对这里发生的事情有所了解?

谢谢.

PS:使用自定义wiki的Fork GitHub项目

git wiki github git-clone

11
推荐指数
1
解决办法
2309
查看次数

在Scala中创建大量数组

我们知道在scala中,要创建一个2D数组(矩阵),使用ofDim:

def ofDim[T]( n1: Int, n2: Int ): Array[Array[T]]
Run Code Online (Sandbox Code Playgroud)

其中参数只接受Int类型.

如果我想创建一个包含大量元素的2D数组,那么将使用多长时间怎么办?而不是Dim,我还能使用什么?

谢谢.

arrays scala matrix

2
推荐指数
1
解决办法
427
查看次数

标签 统计

arrays ×1

git ×1

git-clone ×1

github ×1

matrix ×1

scala ×1

wiki ×1