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

Re: Unable to delete remote branch with a strange name

From
Tomas Carnecky <tom@dbservice.com>
Date
Dec 28, 2010, 17:59 UTC
Message-ID
<4D1A2581.9050305@dbservice.com>
In-Reply-To
<loom.20101228T170808-756@post.gmane.org>
  On 12/28/10 5:10 PM, Jingzhao Ou wrote:
> Yes, using the absolute path works like a champ!
>
> git push origin :refs/heads/remotes/origin/dev/main

Do not use the term 'path' in this context. The fact that a ref looks like a path, and can be stored on the filesystem under the same directory structure is just an implementation detail. Note the *can*, because in the case of packed refs (see man git-pack-refs) the term 'path' is not even remotely accurate.

We use the term 'fully qualified ref' (see the similarity with 'fully qualified domain name') if we want to stress out that the full name of the ref is used (refs/heads/foo) instead of an abbreviation (foo).

tom
Previous: Jingzhao Ou
Message 4 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.