On Oct 27, 2009, at 22:21, bill lam wrote:
There are occasions where diff of a file is
- aaaa
+ bbbb
+ cccc
I want to add lines bbbb and cccc as separated commits, but git-add -p
seem cannot further split this hunk. Do I have no choice but to edit
it by hand and commit the bbbb and then edit the file to add back the
cccc?
I like to use "git gui" for this. This allows you to pick individual
lines to commit. I really like the "git gui" interface for staging/
unstaging
changes and making a series of commits.
-Geert
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html