# change the base of local branch to upstream exp git rebase upstream/exp # completely undo the reabse git rebase --abort # cleanup rebase, leave everything else untouched git rebase --quit