As explained on Don't Be Scared of git rebase, git fetch+rebase
is a better alternative to git pull
; unfortunately it's not as concise.
From now on, use git get
instead of git pull
, a custom command that does this:
# get data from remote
git fetch origin
# rebase the remote branch with the same name as local