2016-10-20 92 views
8

我搜索这个问题很多次,但仍然无法解决它。叉,克隆和推github中的维基

说我从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 

但终端说:

fatal: remote error: access denied or repository not exported: /3/nw/32/2b/9e/135236793/71478887.wiki.git 

这意味着我不能成功地推动本地区维基我分叉回购的Wiki页面。

有没有人有关于这里发生了什么的想法?

谢谢。

PS:Fork GitHub project with custom wiki

回答

7

你需要先在GitHub的帐户创建维基 打开浏览器

https://github.com/myid/repo1/wiki 

按创建的第一个页面,并将其保存 create wiki 现在你可以把(在第一推应该用-f)

git push my-fork -f