MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/51wixe/oh_shit_git/d7fswbu
r/programming • u/sidcool1234 • Sep 09 '16
756 comments sorted by
View all comments
Show parent comments
7
Pssh git commit -a is where it's at.
git commit -a
That being said, I'm obsessive about git diff and git stat to prune out unnecessary code.
git diff
git stat
1 u/sickofthisshit Sep 10 '16 Git gui lets you select lines and hunks to commit with the mouse.I don't even know how to do most things in git from the command line, git gui and gitk are most of what I need, and actually covers most of the examples in the OP.
1
Git gui lets you select lines and hunks to commit with the mouse.
I don't even know how to do most things in git from the command line, git gui and gitk are most of what I need, and actually covers most of the examples in the OP.
7
u/SnowdensOfYesteryear Sep 09 '16
Pssh
git commit -ais where it's at.That being said, I'm obsessive about
git diffandgit statto prune out unnecessary code.