Git操作的過程中顯示
Another git process semms to be running in this repository, e.g. an editor
opened by ‘git commit’. Please make sure all processes are terminated then
try again. If it still fails, a git process remove the file manually to continue…
也就是git被另外一個程序占用捺萌,重啟機器也不能夠解決档冬。原因在于Git在使用過程中遭遇了奔潰,部分被上鎖資源沒有被釋放導致的桃纯。
解決方案:
進入項目文件夾下的 .git文件中(需要顯示隱藏文件夾)刪除index.lock文件即可酷誓。