原文:Git 發生Another git process seems to be running in this repository, e.g. an editor opened by 'git commit'.錯誤

Git 發生 Unable to create D: Model test .git index.lock : File exists. Another git process seems to be running in this repository, e.g. an editor opened by git commit . Please make sure all processes a ...

2019-11-27 09:36 0 569 推薦指數:

查看詳情

Another git process seems to be running in this repository, e.g. Git使用過程中報錯。。

今天使用git的時候,電腦卡機了,然后我就強制終止了git小烏龜。再過一會我拉取代碼,就報錯了,內容如題。 其實解決的辦法很簡單,直接刪除 .git 文件夾內的 index.lock 文件就可以了。 友情提示:使用git工具的過程中,最好不要輕易的強制殺掉進程,不然會導致很多莫名其妙的錯誤 ...

Sat Dec 09 01:11:00 CST 2017 0 2298
git commit 報錯 There was a problem with the editor 'vi'

今天提交代碼git commit -a的時候出現了這個錯誤 上網查了一下,說是Vim的返回值出錯了,出錯的原因還在翻譯英文, 先貼出解決方案吧 git config --global core.editor /usr/bin/vim 執行這個倒是可以實現了,但是再提交的時候又出 ...

Fri Jan 13 17:52:00 CST 2017 0 2653
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM