News for hackers. Stuff that matters.
Re:Git koans by tootie on Monday April 08, 2013 @11:33AM (#5512317)
I personally hate the index. It gets in my way far more often than I actually make use of it.
Re:Git koans by the_mitsuhiko on Monday April 08, 2013 @12:14PM (#5512599)
How does it ever get in the way? Just add `-a` and you can essentially ignore that there is an index on commits.
Re:Git koans by j-kidd on Monday April 08, 2013 @07:37PM (#5515464)
Let's say I modified an existing file (not staged) and then git add a new file. It is a work in progress, and the two changes are not supposed to be in the same commit.

Now, what can I do to see all changes I have made so far?

I have done this many times with subversion (svn diff) and mercurial (hg diff). Git's index just get in the way.