Pull rebase

  • Fetch, then rebase (instead of merge)

  • As with rebase, only used on local commits

  • git pull --rebase or -r

  • git pull --rebase=preserve if your branch has merged commits, preserve them

  • git pull --rebase=interactive use interactive rebase

Last updated