Wow, just learned git add -p
That is fantastically useful.
*(Walks you through "hunks" (finer granularity than files) and asks if you want to stage them.)
That is fantastically useful.
*(Walks you through "hunks" (finer granularity than files) and asks if you want to stage them.)
Just a personal preference, but I strongly prefer being able to build (and test) every commit in the entire history.
https://www.destroyallsoftware.com/screencasts/catalog/sourc...
git add -p
git commmit
git stash
build && test
git stash pop
rinse && wash && repeat