Subject: Re: Branch name with space

From: "Shawn O. Pearce" <[email-masked]>
Date: Tue, 2 Dec 2008 10:03:44 -0800

Le <[email-masked]> 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.