Skip to content

Instantly share code, notes, and snippets.

@cbartlett
Created December 11, 2012 01:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cbartlett/4255000 to your computer and use it in GitHub Desktop.
Save cbartlett/4255000 to your computer and use it in GitHub Desktop.
automating rebase interactive
$ git commit -m 'fixup! eef2f127e9f'
(Where eef2f127e9f is the sha1 of the commit you want to fix up into)
$ git rebase -i head~10
(Where 10 is the number of commits back you need to go)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment