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
git pull
is the same as git fetch
+ git merge
The command
git pull
is really just the same as
git fetch
git merge /
So there is no practical difference between
git pull origin master
and
git fetch origin
git merge origin/master
As stated in the official Linux Kernel git pull documentation:
In its default mode,
git pull
is shorthand forgit fetch
followed bygit merge
FETCH_HEAD
.More precisely, git pull runs git fetch with the given parameters and calls git merge to merge the retrieved branch heads into the current branch.