Re: What to expect after GIT 0.99.7
- From
Matthias Urlichs <smurf@smurf.noris.de>
- Date
- Sep 19, 2005, 07:35 UTC
- Message-ID
- <pan.2005.09.19.07.35.56.960375@smurf.noris.de>
- In-Reply-To
- <7vpsr6ymg3.fsf_-_@assigned-by-dhcp.cox.net>
Hi, Junio C Hamano wrote:
Show 5 quoted lines
> * 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 <commit> 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.