Home > Q&A > body text
I also added node_modules, and then quickly ctrl c to stop it during execution. Then I want to use $git reset HEAD to roll back or add it again. The following error is displayed. It seems to be locked somewhere. How can I solve it?
巴扎黑2017-05-02 09:45:13
Check this link
Try deleting .git/index.lock this file
.git/index.lock