答案 0 :(得分:2)
错误消息告诉您确切的操作:
If no other git process is currently running, this probably means a git process crashed in this repository earlier. Make sure no other git process is running and remove the file manually to continue.
因此,停止任何正在运行的Git进程(关闭Source Tree,Xcode等),只需手动删除锁定文件,然后继续。