News for hackers. Stuff that matters.
Re:High-Level Problems with Git and How to Fix Them by enzanki_ars on Tuesday December 12, 2017 @01:56AM (#15903531)
I have ADHD, so often as I am working on one feature, I will begin accidentally working on another unrelated feature along side it. I rely on staging a lot to ensure that each commit has only the parts that it needs.
Re:High-Level Problems with Git and How to Fix Them by therein on Tuesday December 12, 2017 @03:53AM (#15903994)
Same here, I actually find `git add -p` to be very useful.
Re:High-Level Problems with Git and How to Fix Them by masklinn on Tuesday December 12, 2017 @07:57AM (#15905255)
commit also has a -p flag.
Re:High-Level Problems with Git and How to Fix Them by tome on Tuesday December 12, 2017 @11:30AM (#15906836)
Oh wow. No need for me to use git add ever again!

EDIT: I suppose I have to use it to add new files :)

Re:High-Level Problems with Git and How to Fix Them by akx on Wednesday December 13, 2017 @04:47AM (#15913195)
Just use `git add -i` to mix and match :)