开发者

Git-TFS giving "not a recognized identity" trying to create shelveset

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 cou开发者_运维百科rse 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?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜