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

Branch name with space

From
LLe <le_wen@distributel.ca>
Date
Dec 2, 2008, 17:34 UTC
Message-ID
<4935719A.8000705@distributel.ca>
Hi, there,

I tried to rename a branch to a new name with space in it. It complained : git-branch -M 'test 1' or test\ 1 fatal: Invalid branch name: refs/heads/test 1

Is there a way the get round this problem?
Thanks!
Le
Next: Shawn O. Pearce
Message 1 of 2 in “Branch name with space”
  1. LeDec 2, 2008
  2. Shawn O. PearceDec 2, 2008

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.