Skip to content

Instantly share code, notes, and snippets.

@ekilah
Created August 22, 2016 09:02
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 ekilah/cc7cf49db45d3a37730777f8958eb327 to your computer and use it in GitHub Desktop.
Save ekilah/cc7cf49db45d3a37730777f8958eb327 to your computer and use it in GitHub Desktop.
Git alias for amending the last commit with all current changes, without having to edit the commit message
[alias]
amend = !git add . && git commit --amend --no-edit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment