git同步代码出现的问题
同步代码时出现问题,$ git pull --rebase originFirst, rewinding head to replay your work on top of it...fatal: Unable to create 'F:/code/Demo/.git/index.lock': File exists.Another git process seems to be run
·
同步代码时出现问题,
$ git pull --rebase origin
First, rewinding head to replay your work on top of it...
fatal: Unable to create 'F:/code/Demo/.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.
could not detach HEAD
解决方法:
rm -rf ./.git/index.lock
更多推荐
已为社区贡献1条内容
所有评论(0)