2017-03-25 123 views

回答

0

玛丽,私人叉不能公开。尽管你可以很容易地复制到一个新的仓库。

git clone --bare https://github.com/otherusername/private-repo.git 
cd private-repo.git 
git push --mirror https://github.com/yourname/public-repo.git 
cd .. 
rm -rf private-repo.git 
git clone https://github.com/yourname/public-repo.git