Git: pull vs. fetch→pull
Share
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
You must login to ask question.
We should probably close this as a duplicate, but before that happens, let me see if I can squeeze this in.
While
git pull
really isgit fetch
followed bygit merge
(orgit rebase
), the precise difference lies in howgit pull
runsgit fetch
.Specifically:
$ git pull
or:
$ git pull <em>remote-name branch-name</em>