Re: fatal: unable to create '.git/index': File exists
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 5, 2007, 20:16 UTC
- Message-ID
- <Pine.LNX.4.63.0701052115161.22628@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <200701051150.09968.lenb@kernel.org>
Hi,
On Fri, 5 Jan 2007, Len Brown wrote:
Show 8 quoted lines
> I kicked off a pull. > Realized I was on the wrong branch > and immediately did a ^C > > Now I can't change branches: > > # git checkout release > fatal: unable to create '.git/index': File exists
This usually means that .git/index.lock exists. Try removing that file.
However, it _should_ be removed by the atexit() handler, methinks. I have no idea why it does not.
Ciao, Dscho