2017-08-28 117 views
0

更新我的Visual Studio 2017到版本15.3.2之後,Git現在不能工作,所以我無法提交/拉/推等。它給出了Pull operation Failed錯誤。也收到此錯誤:更新Visual Studio 2017後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.

+0

自從CTP2以來,我使用VS 2017與Git。 VS 2017和Git沒有錯。你嘗試了什麼,發生了什麼?你可以使用TortoiseGit或命令行中的git嗎? –

+0

使用命令行也給出了同樣的錯誤:「另一個git進程似乎在這個倉庫中運行,例如 一個由'git commit'打開的編輯器請確保所有進程 已終止然後再試一次如果它仍然失敗,git進程 可能早已在此存儲庫中崩潰: 手動刪除該文件以繼續。「 –

+1

然後錯誤與Visual Studio無關。 –

回答

0

手動刪除index.lock文件從.git目錄中已經解決了這個問題,現在一切都工作正常後。

相關問題