Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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 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.



Try 'git add -p', it's a lot easier than interactive mode.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: