Git cloning a repository that is already a clone

后端 未结 3 1256
孤街浪徒
孤街浪徒 2021-02-07 13:07

Are there any ill side-effects to do a git clone of a repository that is already clone of another remote repository?

3条回答
  •  粉色の甜心
    2021-02-07 13:45

    No side effects. You can safely clone a repository that comes as result of git clone operation. By the way, this is where git differs from centralized systems like Subversion: the cloned repository is an exact copy of the original one (except from the branches that need to be checkeout manually).

提交回复
热议问题