From: Johannes Schindelin Date: Fri, 06 Jun 2008 15:47:04 GMT Subject: Re: [Q] Changing the current branch (HEAD) in a bare repository - how? Message-ID: In-Reply-To: Hi, On Fri, 6 Jun 2008, Brian Foster wrote: > Using git 1.5.2.5 (Kubuntu 7.10) and a bare repository, > I started with (the commands and output below are typed > in by hand, mostly from memory): > > $ git branch -a > * master > foo > $ > > and then changed the branch names: > > $ git branch -m master old-master > $ git branch -m foo master > > and got this: > > $ git branch -a > master > * old-master > $ > > Now, how do I change the current branch to the (new) > `master'? vi HEAD Ciao, Dscho