Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save brunoluiz/827b6998072a4323649286dea6e4f119 to your computer and use it in GitHub Desktop.
Save brunoluiz/827b6998072a4323649286dea6e4f119 to your computer and use it in GitHub Desktop.
rebase when is already rebased
git rebase --onto master HEAD~N
# Where: n = numbers of commit until where the repos are the same
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment