9

立ち往生しています... git stash を実行すると、次のようになります。

Fatal: Unable to create /index.lock: File exists. If no other git process is currently running, this probably means a git process crashed in this repository earlier. Make sure no other git process is running and remove the file manually to continue.

index.lock を手動で削除すると、次のようになります。

Rename from .git/index.lock to .git/index failed. Should I try again? (y/n)

git チェックアウト マスター:

 Rename from .git/index.lock to .git/index failed. Should I try again? (y/n)

GitHub 経由で git commit:

Unable to create a new commit

私に何ができる?

4

3 に答える 3

3

プロセスは確かにファイルをロックしていました。SysInternals SuiteのProcess Explorerを使用して、パスの一部を> 検索 > ハンドルまたは Dll を検索...に入力して検索できます。ほとんどの場合、コンピューターを再起動する必要はなく、ウィンドウを閉じるだけで簡単に実行できます。Explorer.exe

于 2015-08-05T01:45:44.420 に答える