Re:Git tips to stop you getting fired
by trevorcreech on Monday April 08, 2013 @01:52PM
(#5513279)
`git add -p` splits your changes into logical chunks and lets you choose whether to stage each on.
[ Parent
| on HN ]
It also lets you edit them (press e on a hunk)! I love that command. And it was clearly inspired by "darcs record". I also use commit-patch[1] quite a lot, it comes with Emacs integration which makes it heavenly (vc-diff then edit the patch to your liking, then commit).