As if there weren’t enough reasons to love it, I came across a nice little article by Ryan Tomayko called “The Thing About Git”. He describes how to do partial commits of only some selected changes in specific files instead of having to commit the whole file. git add --patch
to the rescue. Neat stuff. I still like git stash
, but being able to commit specific changes while leaving others untouched in the local repository can come in handy from time to time.
I’m currently using Git as a gateway drug on a Subversion repository, and I’m getting more and more fond of it every day.
Via GitHub.