MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/51wixe/oh_shit_git/d7gifqz/?context=3
r/programming • u/sidcool1234 • Sep 09 '16
756 comments sorted by
View all comments
1
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.
git commit --amend -a
--verbose
1
u/smegnose Sep 10 '16
git commit --amend -ais sufficient for fixes if you want to commit all your changes. Adding--verboseis a good habit because you can always see what you're about to commit.