|
发表于 2021-2-26 11:22:12
6144 浏览 0 回复
git commit 提示/.git/index.lock': File exists.
$ git commit -m “test”
- fatal: Unable to create ‘E:/Git/.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.
复制代码
解决方法:
- <b>rm -rf ./.git/index.lock</b>
复制代码
|
|
手机微信同号:13682654092
|
|
|
|
|
登录或注册
|