From: Junio C Hamano <gitster@pobox.com>
To: "Martin Langhoff" <martin.langhoff@gmail.com>
Cc: "Git Mailing List" <git@vger.kernel.org>
Subject: Re: Usability of git-update-ref <headname>
Date: Tue, 03 Jul 2007 21:12:56 -0700 [thread overview]
Message-ID: <7vtzskq01j.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <46a038f90707031908x3fb2eb59ob0a57a33777363fb@mail.gmail.com> (Martin Langhoff's message of "Wed, 4 Jul 2007 14:08:46 +1200")
"Martin Langhoff" <martin.langhoff@gmail.com> 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
prev parent reply other threads:[~2007-07-04 4:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-04 2:08 Usability of git-update-ref <headname> Martin Langhoff
2007-07-04 4:12 ` Junio C Hamano [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7vtzskq01j.fsf@assigned-by-dhcp.cox.net \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=martin.langhoff@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox