我多次搜索这个问题,但仍然无法解决它.
假设我从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.
有没有人对这里发生的事情有所了解?
谢谢.
我们知道在scala中,要创建一个2D数组(矩阵),使用ofDim:
def ofDim[T]( n1: Int, n2: Int ): Array[Array[T]]
Run Code Online (Sandbox Code Playgroud)
其中参数只接受Int类型.
如果我想创建一个包含大量元素的2D数组,那么将使用多长时间怎么办?而不是Dim,我还能使用什么?
谢谢.