From: Junio C Hamano Date: Sat, 30 Jan 2010 08:02:35 GMT Subject: Re: master^ is not a local branch -- huh?!? Message-ID: <7vhbq4xbok.fsf@alter.siamese.dyndns.org> In-Reply-To: Ron Garret 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. >> *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.