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

Fwd: git-completion of branches containing @ in their name

From
BNBørge Bjørnli Nygård <borge.b.nygard@gmail.com>
Date
Oct 5, 2012, 07:32 UTC
Message-ID
<CADWPBtdnimsQVD2VuLcCpUsTxAKMFZphoKRqseWy3D9JGxyTrA@mail.gmail.com>
In-Reply-To
<CADWPBtcVS-c_yTmWsWNQH7NgWVE6yoJNDv53RXF1E3cGwdQgHA@mail.gmail.com>
Hello,

When I try to complete a branch name containing @, it doesn't expand as expected.

Running git on Windows 7.

$ git --version git version 1.7.11.msysgit.1

$ git branch
* master
  master@feature
If I write
$ git checkout master@
and press tab, the above expands to
$ git checkout mastermaster@feature

-- Børge Bjørnli Nygård

Message 1 of 1 in “Fwd: git-completion of branches containing @ in their name”
  1. Børge Bjørnli NygårdOct 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.