On Sunday 03 December 2006 18:24, Linus Torvalds wrote:
...
I don't quite understand this - maybe it should be
git ls-tree HEAD -- that-file | git update-index --index-info
git commit
git commit -a
either I want to ONLY commit that file at the working tree state (and index
before these commands), or I want to commit ALL except this file (so I can
later come and commit just that file)
so having reset the index to the state of HEAD for "that-file" then the commit
should make a commit with all the other changes in the index (but NOT
that-file) and then the git commit -a picks up "that-file"
--
Alan Chandler
http://www.chandlerfamily.org.uk
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html