4 ms·
Here is an example from my experience: Sometimes when I'm developing, and ready to commit something I notice I've made a few unrelated changes/bugfixes. I cou
by warp 17y ago
Here is an example from my experience:
Sometimes when I'm developing, and ready to commit something I notice I've made a few unrelated changes/bugfixes. I could just commit the whole thing at once, but that makes merging a hassle because I probably want to merge those bugfixes to trunk much sooner than any code which implements a new feature. So, I would need some way to commit only certain diff chunks from each file.
I understand from "http://www.gitcasts.com/posts/interactive-adding http://www.gitcasts.com/posts/interactive-adding that git can do that. So far it hasn't been incentive enough to switch, but it's one example of the pain of subversion.
- FooBarWidget 17y agoTry 'git add -p', it's a lot easier than interactive mode.