What is the difference between ‘git pull’ and ‘git fetch’?

1 min read 240 views
What is the difference between ‘git pull’ and ‘git fetch’?

git pull does a git fetch followed by a git merge under refs/remotes/<remote>/.

and does not make any changes refs/heads

git pull = git fetch + git merge.

Topics versus
Found this useful?

Share it with someone shopping for a phone.

Keep reading

All articles