git 命令报错: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
执行 git 命令时,报错:
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.
error: Unable to create '/Users/zhangsan/go/src/aaa/bbb/.git/logs/refs/remotes/origin/feature/mix_model.lock': File exists.
把被锁住的文件所在文件夹删了即可。
rm -rf /Users/zhangsan/go/src/aaa/bbb/.git/logs/refs/remotes/origin