From: Matthias Urlichs Date: Mon, 19 Sep 2005 07:35:59 GMT Subject: Re: What to expect after GIT 0.99.7 Message-ID: In-Reply-To: <7vpsr6ymg3.fsf_-_@assigned-by-dhcp.cox.net> Hi, Junio C Hamano wrote: > * Perhaps a tool to revert a single file to pre-modification > state? git-cat-file blob `git-ls-files | grep foo` >foo or > git-cat-file blob `git-ls-tree HEAD foo` >foo? What should > the command be called? git-revert is taken so is > git-checkout. git-checkout can be extended to accept filenames, which would have the additional benefit of enabling me to get any revision, not just HEAD. So can git-reset. I agree with Anton's "git clean"; with an optional -r argument, that would be a better solution. -- Matthias Urlichs | {M:U} IT Design @ m-u-it.de | smurf@smurf.noris.de Disclaimer: The quote was selected randomly. Really. | http://smurf.noris.de - - BOFH excuse #396: Mail server hit by UniSpammer.