Skip to content

Instantly share code, notes, and snippets.

@markshust
Created February 15, 2012 21:42
Show Gist options
  • Save markshust/1839182 to your computer and use it in GitHub Desktop.
Save markshust/1839182 to your computer and use it in GitHub Desktop.
Remove a specific commit id knowing only the commit id you would like to remove
git rebase --onto commit-id^ commit-id HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment