本文共 423 字,大约阅读时间需要 1 分钟。
使用git add时遇到错误:
fatal: Unable to create '/Volumes/APFS-case-sensitive/Tech/Pwn/thinkycx@pwn/.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 processesare terminated then try again. If it still fails, a git processmay have crashed in this repository earlier:remove the file manually to continue.
解决办法:
rm .git/index.lock
参考:
转载地址:http://ygmli.baihongyu.com/