Re: master^ is not a local branch -- huh?!?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jan 30, 2010, 08:02 UTC
- Message-ID
- <7vhbq4xbok.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <ron1-0D3105.23314829012010@news.gmane.org>
Ron Garret <ron1@flownet.com> writes:
> It wouldn't. Was this a trick question? Did you mean to ask what would > happen if I ran commit -a?
I didn't mean _literally_ "git commit". Any random thing you may want to do when you come back to work the next day and find a checked out work tree. Viewing, editing, committing, etc.
Show 5 quoted lines
>> *1* As a set of "building blocks" to implement "reset" and "checkout", I >> don't necessarily agree that "update" would be a good way to go from the >> implementation standpoint, but that is a totally separate matter. > > Did you mean "don't necessarily DISagree"?
I have huge doubts that "update" is the best way to do reset/checkout.