如何制作一个git clone --bare进入git clone --mirror

时间:2016-01-27 17:21:26

标签: git github git-clone

我不小心用git clone --bare创建了一个回购的副本,现在我无法从原始回购更新。 This GitHub article建议--mirror更新:

  

如果要在其他位置镜像存储库,包括   从原始版本获取更新,您可以克隆镜像

     

git clone --mirror https://github.com/exampleuser/repository-to-mirror.git

如何将--bare克隆修改为--mirror回购?

0 个答案:

没有答案