remove index.lock git code example
Example: remove index.lock git
# On linux/unix/gitbash/cygwin, try
sudo rm -f ./.git/index.lock
# On Windows Command Prompt, try:
del .git\index.lock
# On linux/unix/gitbash/cygwin, try
sudo rm -f ./.git/index.lock
# On Windows Command Prompt, try:
del .git\index.lock