git 复位出现If no other git process is currently running, this probably means a git process crashed in this repo

复位到A节点的时候点了取消(终止),又去复位另外个节点,结果每次不管复位哪个都会报这个错误

fatal: Unable to create 'XXXXXXXXX' : File exists.

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.

如何解决呢

按照'XXXXXXXXX'里面说的路径找到该文件,删除就可以了

原文地址:https://www.cnblogs.com/wdw31210/p/7458201.html