From: Boyd Stephen Smith Jr. Date: Wed, 31 Dec 2008 15:14:25 GMT Subject: Re: for newbs = little exercise / tutorial / warmup for windows and other non-sophisticated new Git users :-) [Scanned] Message-ID: <200812310914.25779.bss@iguanasuicide.net> In-Reply-To: <7v7i5hymp7.fsf@gitster.siamese.dyndns.org> On Tuesday 30 December 2008, Junio C Hamano wrote about 'Re: for newbs = little exercise / tutorial / warmup for windows and other non-sophisticated new Git users :-) [Scanned]': >"Boyd Stephen Smith Jr." writes: >> "git checkout " is similar to "hg revert -r >> ", > >No it is not. > >The form of the command is makes this request: > > Please look into that named , and check out the named > out of it to my work tree. That seems similar to "hg revert": Using the -r option, revert the given files or directories to their contents as of a specific revision. > Because the reason I want them in > my work tree is so that I can include them as part of the next commit > I am preparing to create in the index, please update these paths in > my index while at it. This part is odd to me, but does make some sense. I can only think of a few reasons to retrieve a file from a different tree-ish without immediately turning around and doing "git add ". -- Boyd Stephen Smith Jr. ,= ,-_-. =. bss@iguanasuicide.net ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.net/ \_/