git pull --rebase
Doing 'git pull' is fine but if you're working on a branch others are actively using this will add a merge message to the log messing up the log history. Using --rebase will do a pull then rebase and keep the log clean.
Written by John Antoni Griffiths
Related protips
2 Responses
Is this the same of doing git fetch
then git rebase [origin] [branch]
?
over 1 year ago
·
believe so, just a little simpler to use.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#