Skip to content

Instantly share code, notes, and snippets.

@simoncowie
Last active February 20, 2017 20:58
Show Gist options
  • Save simoncowie/50bd91cf1b9ab58f2f089f5ec1476b6b to your computer and use it in GitHub Desktop.
Save simoncowie/50bd91cf1b9ab58f2f089f5ec1476b6b to your computer and use it in GitHub Desktop.
Git rebase without the rebase
git reset --soft HEAD~4 &&
git commit --edit -m"$(git log --format=%B --reverse HEAD..HEAD@{1})"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment