Skip to content

Instantly share code, notes, and snippets.

@mhanberg
Created May 28, 2019 20:08
Show Gist options
  • Save mhanberg/520784619f56a3066049f9df992ff529 to your computer and use it in GitHub Desktop.
Save mhanberg/520784619f56a3066049f9df992ff529 to your computer and use it in GitHub Desktop.
unwrap-last-commit() {
git reset --soft HEAD~1
git reset
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment