今天我在敲完代码快下班时准备提交代码 当执行git add 操作的时候,出现 如下 错误: 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 Bash ,键入 rm -f ./.git/index.lock 再次提交就OK了
新闻热点
疑难解答