Table of Contents

What is the difference between fetch and pull?

git pull [remote] [branch] is the same as

git fetch [remote] [branch]
git merge [remote][/branch]

git pull --rebase [remote] [branch] is the same as

git fetch [remote] [branch]
git rebase [remote][/branch]
Fork me on GitHub