切換分支突然git 異常:
Another git process seems 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
may have crashed in this repository earlier:
remove the file manually to continue.
意思就是git的進程被另一個占用
解決方案:
進入項目文件夾,顯示隱藏文件.git,然后刪除index.lock文件即可