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.
[ Parent
| on HN ]
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.