Git Hub Clone All Branches At Once

后端 未结 7 1090
时光取名叫无心
时光取名叫无心 2020-12-07 12:19

I\'m trying to clone an entire repository onto my machine using linux. I used

git clone    

I then went into the folder where i

7条回答
  •  没有蜡笔的小新
    2020-12-07 13:01

    1. git clone --bare https://repo.git projectName
    2. cd projectName
    3. git push --mirror https://repo.git

    that makes your repo completely identical.

    See: https://help.github.com/en/articles/duplicating-a-repository

提交回复
热议问题