Skip to content

Instantly share code, notes, and snippets.

@avocadoslab
Created October 27, 2017 14:57
Show Gist options
  • Save avocadoslab/12fdd8337f1dd0921765fce986a07128 to your computer and use it in GitHub Desktop.
Save avocadoslab/12fdd8337f1dd0921765fce986a07128 to your computer and use it in GitHub Desktop.
Rebase Helper

This gives little more info than when you do 'git rebase -i'.

  1. Run following command

git log --oneline origin/master..HEAD --format="%h %s %ae" --reverse

Go through each commit # and remove what you don't need.

  1. Run 'git rebase -i' and match result with results from step 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment