From: Thomas Glanzmann Date: Wed, 04 May 2005 14:23:51 GMT Subject: Howto update a 'dirty' entry in the cache from the object database Message-ID: <20050504142351.GL18380@cip.informatik.uni-erlangen.de> Hello, I edited a bunch of files and notice that I want to revert back one of the files to the original one (the one that comes with HEAD). But I already updated the cache. Is there a way to 'patch' the cache with the original file. Or do I need todo a read-tree into a temporary index file. Check out the one file from this alternate index file and use update-cache to update my original index file? Thomas [ who want's a "git revert" ]