gitでファイルの選択が出来ない場合

ファイルをコミットしようと選択しようとすると下記のようなエラーが出た。
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.
同じgitリポジトリに対して同時に複数の操作を行わないよう、排他制御を行うためのロックファイルが生成された。
今回は『動画ファイルをコミット→エラー→キャンセル』をしようと選択した際に発生。
(案件ディレクトリ)\.git\index.lock
これを手作業で削除することで解消された。
参考サイト
-
前の記事
wp-pagenaviの移動に対してアンカーリンクを付ける 2017.11.20
-
次の記事
ホスト名によってwp-config.phpの値を変更する 2017.12.01