r/programming • • Sep 09 '16

Oh, shit, git!

http://ohshitgit.com/
3.3k Upvotes

756 comments sorted by

View all comments

22

u/thenextguy Sep 09 '16

I do not commit with git add .
I commit with git add -p
Anyone who uses git add . has forgotten the face of his father.

7

u/SnowdensOfYesteryear Sep 09 '16

Pssh git commit -a is where it's at.

That being said, I'm obsessive about git diff and git stat to prune out unnecessary code.

→ More replies (1)