git-tf tells me “Could not lock” when checking in; how can I fix it?
问题 I'm using git-tf to push to a TFS project. Sometimes, when I try to check one or more commits into TFS, I get a message like this: Connecting to TFS... Checking in to $/MyProject: 0% git-tf: Could not lock $/MyProject What does this mean? What's keeping me from locking? And how can I fix this? 回答1: Why it happens With standard TFS usage, you're only checking in one commit at a time. But with Git, you could have a series of commits that you push all at once. Because of that, git-tf strives to