From: "Shawn O. Pearce" <spearce@spearce.org>
To: Le <le_wen@distributel.ca>
Cc: git@vger.kernel.org
Subject: Re: Branch name with space
Date: Tue, 2 Dec 2008 10:03:44 -0800 [thread overview]
Message-ID: <20081202180344.GW23984@spearce.org> (raw)
In-Reply-To: <4935719A.8000705@distributel.ca>
Le <le_wen@distributel.ca> wrote:
> 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?
Don't put spaces in branch names. They aren't permitted. Use
an underscore ('_') or a hypen ('-').
--
Shawn.
prev parent reply other threads:[~2008-12-02 18:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-02 17:34 Branch name with space Le
2008-12-02 18:03 ` Shawn O. Pearce [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081202180344.GW23984@spearce.org \
--to=spearce@spearce.org \
--cc=git@vger.kernel.org \
--cc=le_wen@distributel.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).