We've been using GIT TF successfully for various projects (so thank you!) but we have one particular project that ALWAYS gives a "Could not lock" error every time one tries to checkin changes:
git tf checkin --no-metadata
Connecting to TFS...
Checking in to $/tfs_project: 0%
git-tf: Could not lock $/tfs_project
I'm trying to understand why we only get the issue with the one project. I've checked using Visual Studio and the top level folder isn't locked by anyone else. Could this be due to some kind of permission issue on the top level folder or an issue an issue with
the files within?
As a side note I fully understand why a lock is necessary and that I am able to overcome this by using the --no-lock option e.g.
git tf checkin --no-metadata --no-lock
This the workaround we're using at the moment however I'm concern that we could eventually end up with a conflict if two people commit simultaneously so I would like to resolve the problem.
Any insight into the problem/solution gratefully received. Thanks in advance.