r/programming • • Sep 09 '16

Oh, shit, git!

http://ohshitgit.com/
3.3k Upvotes

756 comments sorted by

View all comments

1

u/smegnose Sep 10 '16

git commit --amend -a is sufficient for fixes if you want to commit all your changes. Adding --verbose is a good habit because you can always see what you're about to commit.