I have had the issue currently where I needed to remove my .git/index.lock
file. Without too much hesitation I am guessing that this file somehow locks processes that can access the git repo. However I can't seem to find a good description/documentation for what this file actually does and why you get the problem described for instance in this question(link).
What does the index.lock
actually do, and what causes the problem that people are having related to this file?
It would be very nice to know so I can prevent this issue in the future.