阅读背景:

git 使用问题 Unable to create '../.git/index.lock': File exists.

来源:互联网 

git 使用问题

今天使用git是发现无法切换分支,报错如下:

git -c diff.mnemonicprefix=false -c core.quotepath=false checkout feature/s_mybills
fatal: Unable to create 'E:/'''/.git/index.lock': File exists.

Another git process seems to be running in this repository, e.g.
an editor opened by 'git commit'. Please make sure all processes
are terminated then try again. If it still fails, a git process
may have crashed in this repository earlier:
remove the file manually to continue.git -c diff



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: