2017-03-25 122 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