Re:Improve your Git commits using patch mode
by languagehacker on Sunday November 11, 2012 @01:16PM
(#4770124)
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'.
[ Parent
| on HN ]
Re:Improve your Git commits using patch mode
by ujeezy on Sunday November 11, 2012 @01:25PM
(#4770157)
And if you'd like to diff what's in the staging area, you can use this command: git diff --cached
Re:Improve your Git commits using patch mode
by codenapper on Sunday November 11, 2012 @01:45PM
(#4770215)
Thanks, that's really helpful! I just updated the post.