Why git is called a distributed source control system?

前端 未结 5 800
猫巷女王i
猫巷女王i 2021-02-15 23:23

It seems after committing code to the local repository, every programmer will run the command.

git push origin master

to push the local file to

5条回答
  •  孤城傲影
    2021-02-16 00:20

    Because your clone can be someone else's master, and you can push your clone towards any other repository. There is no need for a concept of one "true" master; you can run it as a distributed grid of repositories.

提交回复
热议问题