From: Jingzhao Ou <jingzhao.ou@gmail•com>
To: git@vger•kernel.org
Subject: Re: Unable to delete remote branch with a strange name
Date: Tue, 28 Dec 2010 16:10:14 +0000 (UTC) [thread overview]
Message-ID: <loom.20101228T170808-756@post.gmane.org> (raw)
In-Reply-To: m2hbdy9top.fsf@whitebox.home
Andreas Schwab <schwab <at> linux-m68k.org> writes:
>
> Jingzhao Ou <jingzhao.ou <at> gmail.com> writes:
>
> > I guess somehow, git is confused by "origin/dev/main" and
> > "origin/remotes/origin/dev/main". Especially, it cannot identify the latter
> > properly.
>
> Try fully qualifying the remote branch (beginning with refs/heads/).
>
> Andreas.
>
Hi, Andreas,
Yes, using the absolute path works like a champ!
git push origin :refs/heads/remotes/origin/dev/main
Thanks a lot for your help!
Jingzhao
next prev parent reply other threads:[~2010-12-28 16:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-28 7:06 Unable to delete remote branch with a strange name Jingzhao Ou
2010-12-28 8:40 ` Andreas Schwab
2010-12-28 16:10 ` Jingzhao Ou [this message]
2010-12-28 17:59 ` Tomas Carnecky
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=loom.20101228T170808-756@post.gmane.org \
--to=jingzhao.ou@gmail$(echo .)com \
--cc=git@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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