loading...

re: 3 Git Commands I Use Every Day VIEW POST

FULL DISCUSSION
 

In regards to git add -p, I personally just use git diff --staged.

 

That's another good one. I recommend tacking on the -w option to avoid noisy whitespace changes.

The main point is to review your changes before blindly adding them. In the end, whatever command helps you do this is an implementation detail.

code of conduct - report abuse