Skip to content

Instantly share code, notes, and snippets.

@veggiemonk
Last active April 2, 2019 11:13
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 veggiemonk/ef174cbeb7cc31ba481bdcfcd9f6e91f to your computer and use it in GitHub Desktop.
Save veggiemonk/ef174cbeb7cc31ba481bdcfcd9f6e91f to your computer and use it in GitHub Desktop.
git fixup autosquash workflow
# source https://stackoverflow.com/questions/3103589/how-can-i-easily-fixup-a-past-commit?noredirect=1&lq=1
git add .
git commit --fixup HEAD
git rebase -i --autosquash HEAD~2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment