Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Usability of git-update-ref <headname>

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:43:19

"Martin Langhoff" [off-list ref] writes:
Am I using the wrong command? I'd be happy to remove the bogus head
and create a new one, but I don't think we have git-rm-ref.
Yes you are.  Forget about update-ref.  That is strictly for
script consumption.
 # I think I'm on master, but I'm acually on maint
 git-branch foo-feature
 git-checkout foo-feature

 # realise I've branched in the wrong place
   $ git reset --soft master
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help