3 ms·
I personally hate the index. It gets in my way far more often than I actually make use of it.
by tootie 14y ago
I personally hate the index. It gets in my way far more often than I actually make use of it.
- the_mitsuhiko 14y agoHow does it ever get in the way? Just add `-a` and you can essentially ignore that there is an index on commits.
- j-kidd 14y agoLet'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.