Question

I'm using git-tfs, and much of its functionality works fine. I can pull, and I can use the checkintool. But I can't create shelvesets. When I try to git tfs shelve ShelveSetName, I get this error:

TF14045: The identity MYDOMAIN\Joe White is not a recognized identity.

It looks like, for some bizarre reason, git tfs shelve is trying to authenticate against my given name ("Joe White", space included) instead of my user name, so of course it fails to authenticate because user names can't have spaces in them.

How can I get git tfs shelve to authenticate correctly, i.e., using my currently-logged-in Windows user credentials?

Was it helpful?

Solution

Have your tried using the --username option when shelving? Or turned on debug with the -d option? If that doesn't work it's likely a bug. git-tfs is still fairly new and the authentication options got reworked a fair bit recently and it's possible the shelve command got overlooked now that it's not the main approach for committing.

If you can't get it to work log an issue with the debug log on the main github site and one of the contributors will no doubt try and fix it for you quickly.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top