In git for Windows, there is no commit modification, prompting the open shell
After the open shell, using git add [filename], you will get an error:
Fatal:unable to create './.git/index.lock ': File exists. If no other git process was currently running, this probably means a git process crashed in this repository earlier. Make sure no other git process are running and remove the file manually to continue.
Online check, said the input command: RM - F./.git/index.lock, after trying to find is not possible, because the-f command is a shorthand, you can try rm-force./.git/ Index.lock
But in fact, the meaning of this error is that the GitHub directory/.git/index.lock This file already exists, need to be deleted. So you can manually enter the/.git path (it is a hidden folder, you need to hit the path directly), to find Index.lock, Then manually delete it and OK.
git for Windows cannot commit modified processing