difference between git merge origin/master and git pull

后端 未结 3 1607
天涯浪人
天涯浪人 2020-12-22 17:14

I\'m working on a local branch \"BDD-local\" and would like to get the changes from other developers. The other developers are using their own branch and once they are happ

3条回答
  •  太阳男子
    2020-12-22 17:38

    A git pull is going to run a git fetch and then a git merge. If you want to bring your local repository up to speed with a remote repository that is what you would run.

    A git fetch is going to import commits from a remote repo without merging them, which gives you the opportunity to review them before integrating.

提交回复
热议问题