Keep Your Branch in Sync
62%
Pull Without the Ugly Merge Commits
The most common place you'll use rebase in daily work is when pulling. Imagine you've made a local commit on main, but someone else has also pushed a commit to GitLab. A regular git pull would create a merge commit to combine them.
To avoid that, use:
git pull --rebase
Learn Git in a Day
Everything you need, nothing you don'tEnroll now to unlock all content and receive all future updates for free.
Unlock now $9.99$7.49Learn More
Hurry! This limited time offer ends in:
To redeem this offer, copy the coupon code below and apply it at checkout:
