Cheatsheet Pages / Git Cheatsheet

How to pull with rebase instead of merge — git pull --rebase

You want incoming changes integrated without a merge commit bubble in your history.

git pull --rebase   # fetch + rebase instead of fetch + merge

Good to know

Updates your branch by replaying your commits on top of incoming changes — no merge bubbles.

Git Cheatsheet one-page card — 30 daily and rescue commands
The full one-page card — Git Cheatsheet. Get the complete cheatsheet on GitHub