git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Unable to delete remote branch with a strange name

From
JOJingzhao Ou <jingzhao.ou@gmail.com>
Date
Dec 28, 2010, 16:10 UTC
Message-ID
<loom.20101228T170808-756@post.gmane.org>
In-Reply-To
<m2hbdy9top.fsf@whitebox.home>
Andreas Schwab <schwab <at> linux-m68k.org> writes:
Show 11 quoted lines
> 
> 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
Previous: Andreas SchwabNext: Tomas Carnecky
Message 3 of 4 in “Unable to delete remote branch with a strange name”
  1. Jingzhao OuDec 28, 2010
  2. Andreas SchwabDec 28, 2010
  3. Jingzhao OuDec 28, 2010
  4. Tomas CarneckyDec 28, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.