4 ms·
I'd suggest adding hunks instead of committing them so you can review your staging area at the end. It's the same flag; just use 'git add -p' instead of 'git co
by languagehacker 14y ago
I'd suggest adding hunks instead of committing them so you can review your staging area at the end. It's the same flag; just use 'git add -p' instead of 'git commit -p'.
- ujeezy 14y agoAnd if you'd like to diff what's in the staging area, you can use this command: git diff --cached
- codenapper 14y agoThanks, that's really helpful! I just updated the post.