0

So I have a problem similar to this individual...

https://stackoverflow.com/questions/13635429/git-rename-from-index-lock-to-index-failed

So it seems that he eventually solves his problem by finding a process which has a lock on his .git/index file. He however does not explain how he found out that this process has a lock on his .git/index file. So if someone can explain to me how he figured that out that would be great.

Thanks!

2 Answers 2

1

There are two commands that will list open files, fuser and lsof.

0

Use the utility lsof. If will tell the process that has a lock on a file.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .