From: Sven Verdoolaege Date: Mon, 10 Oct 2005 21:00:08 GMT Subject: Re: openbsd version? Message-ID: <20051010210007.GJ8383MdfPADPa@greensroom.kotnet.org> In-Reply-To: <7vll113yjs.fsf@assigned-by-dhcp.cox.net> On Mon, Oct 10, 2005 at 01:30:15PM -0700, Junio C Hamano wrote: > Removing from the tip of non-current branch: > > $ git update-ref mybranch mybranch^ > I think you mean $ git-update-ref refs/heads/mybranch mybranch^ Which reminds me... try this: bash-3.00$ git-init-db defaulting to local storage area bash-3.00$ touch a bash-3.00$ git-update-index --add a bash-3.00$ git commit -m 'a' Committing initial tree 496d6428b9cf92981dc9495211e6e1120fb6f2ba bash-3.00$ touch b bash-3.00$ git-update-index --add b bash-3.00$ git commit -m 'b' bash-3.00$ git checkout -b branch bash-3.00$ git-update-ref master master^ bash-3.00$ git checkout master bash-3.00$ git-status # # Updated but not checked in: # (will commit) # # deleted: b # (Hint: there are now two masters) skimo