git 本地代码add的时候报Another git process seems to be running in this repository问题解决

1. 通过文章:https://blog.****.net/hp890226/article/details/85230372;知道:

工作区目录下的隐藏文件.git,中的index.lock文件删除掉,然后重新打开git bash进程;

2. 如何找到.git文件,默认隐藏,如果隐藏,进行如下操作,以 win10为例:勾选隐藏项目即可显示隐藏的.git文件夹。

git 本地代码add的时候报Another git process seems to be running in this repository问题解决