Skip to content

Instantly share code, notes, and snippets.

@deobald
Created October 16, 2021 00:11
Show Gist options
  • Save deobald/46ca0ff59aebb3a74d6e61c383a70b84 to your computer and use it in GitHub Desktop.
Save deobald/46ca0ff59aebb3a74d6e61c383a70b84 to your computer and use it in GitHub Desktop.
how-to-rebase
# because I will never, ever remember
git co master
git pull
git co <branch>
git rebase master
git pull --rebase
git push
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment