We use TFS 2010 at work, and I use git-tfs so I can use git locally. I've recently upgraded my machine, and copied all my local repository folders across.
I seem to be able to pull from TFS and commit locally. However when I do git tfs rcheckin
, I now get the error:
TF26198: The work item does not exist, or you do not have permission to access it.
It does however work when using git tfs checkintool
.
I presumed that I was getting this error because the original git tfs clone
was done on another computer. Reading the git-tfs docs, it sounds like I should be doing a git clone
from my old machine (rather than copy), then a git tfs bootstrap
. However, when trying this, I still get the same error.
Any ideas what could be causing this? The only other difference I can think of is that my old machine has VS2010 and VS2012 installed, whereas my new machine has just VS2012 installed.