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

Re: How do I delete a remote branch with a period in the name?

From
Andreas Schwab <schwab@linux-m68k.org>
Date
Jul 3, 2012, 07:56 UTC
Message-ID
<m23959e0qp.fsf@igel.home>
In-Reply-To
<CAKON4OwnUKQ6MT8HBNDyfhZLZS5xGKA2Ss1krY9OQGG1gaFhDw@mail.gmail.com>
"jonsmirl@gmail.com" <jonsmirl@gmail.com> writes:
Show 23 quoted lines
> jonsmirl@smirl2:/home/apps/florida/lpc31xx$ git push origin :fl.stg
> error: unable to push to unqualified destination: fl.stg
> The destination refspec neither matches an existing ref on the remote nor
> begins with refs/, and we are unable to guess a prefix based on the source ref.
> error: failed to push some refs to 'git@github.com:jonsmirl/lpc31xx.git'
> jonsmirl@smirl2:/home/apps/florida/lpc31xx$
>
> jonsmirl@smirl2:/home/apps/florida/lpc31xx$ git branch -r
>   linus/master
>   origin/HEAD -> origin/master
>   origin/bar.stgit
>   origin/dt-test
>   origin/fl.stgit
>   origin/foo.stgit
>   origin/lpc313x-stg
>   origin/lpc313x-stg.stgit
>   origin/master
>   origin/master.stgit
>   origin/temp.stgit
>   origin/v3.4-stg
>   origin/v3.4-stg.stgit
>   origin/v3.5-stg
>   origin/v3.5-stg.stgit
There doesn't appear to be a remote branch with that name.
Andreas.
-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Previous: Jeff KingNext: Junio C Hamano
Message 12 of 17 in “How do I delete a remote branch with a period in the name?”
  1. jonsmirl@gmail.comJul 3, 2012
  2. Junio C HamanoJul 3, 2012
  3. jonsmirl@gmail.comJul 3, 2012
  4. push: don't guess at qualifying remote refs on deletionJeff King, Jul 3, 2012
  5. jonsmirl@gmail.comJul 3, 2012
  6. Jeff KingJul 3, 2012
  7. jonsmirl@gmail.comJul 3, 2012
  8. Jeff KingJul 3, 2012
  9. Carlos Martín NietoJul 4, 2012
  10. Junio C HamanoJul 3, 2012
  11. Jeff KingJul 4, 2012
  12. Andreas SchwabJul 3, 2012
  13. Junio C HamanoJul 3, 2012
  14. Carlos Martín NietoJul 5, 2012
  15. Phil HordJul 5, 2012
  16. Carlos Martín NietoJul 5, 2012
  17. Junio C HamanoJul 5, 2012

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.