Entries tagged: scm

  • #20

    In praise of git’s index

    In this kind of workflow, the meaning of git diff becomes “work I haven’t reviewed yet” or “work I don’t want to commit yet” and git diff --cached becomes “work I have vetted for inclusion in the next commit”. The index is what makes this possible.

    I don’t know how I ever worked another way.

    While I use GitX to do the heavy lifting, my workflow is more or less the same, and when I use SVN or similar tools, I find that I spend a lot of time mucking around in my files to only commit what I want to at a given time. Those fixes on line 79-84 needs to go out now, but the untested feature I was working on on line 343-359 is not ready for prime time. I do things like that almost every day, and git saves me so much time.

    Visit: http://plasmasturm.org/log/gitidxpraise/

  • #98