Fetch, then rebase (instead of merge)
As with rebase, only used on local commits
git pull --rebase or -r
git pull --rebase
-r
git pull --rebase=preserve if your branch has merged commits, preserve them
git pull --rebase=preserve
git pull --rebase=interactive use interactive rebase
git pull --rebase=interactive
Last updated 2 years ago