Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upstderr: 'fatal: Unable to create '.git/index.lock': File exists. #1010
Labels
Comments
It looks like the error is related to the git command-line tool, which might indeed have crashed, leaving a lock file preventing further access. This can possibly happen if the script is interrupted with Ctrl+C. As there is nothing unusual about this happening, nor is there an indication that this is a bug in GitPython, I am closing this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a git script that fetches a file from a remote repository. Everything was working fine but then all of a sudden I'm running into this error below. Is their a way I can solve this using
GitPython
, any help will be much appreciated thanks.