0
我分叉了一个私有存储库,我可以在我的github上复制并制作一个新的公共存储库 ...?分叉的私人存储库,复制并公开存储库
我分叉了一个私有存储库,我可以在我的github上复制并制作一个新的公共存储库 ...?分叉的私人存储库,复制并公开存储库
玛丽,私人叉不能公开。尽管你可以很容易地复制到一个新的仓库。
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
你为什么不试试,而不是问? –