简体   繁体   English

如何更改我的TFS身份?

[英]How do I change my TFS identity?

When I was first getting set up in TFS, my company misspelled my username. 当我第一次在TFS中进行设置时,我的公司拼错了我的用户名。 They since changed it to the correct spelling, but that change was apparently not reflected in TFS. 此后,他们将其更改为正确的拼写,但是该更改显然未反映在TFS中。 When I try to check in changes, I get this error: 当我尝试签入更改时,出现此错误:

在此处输入图片说明

Is there a way I can change my TFS identity to the one with the correct spelling so I can check stuff in from my machine? 有没有一种方法可以将我的TFS身份更改为具有正确拼写的身份,以便可以从计算机中签入内容? Our TFS administrator has looked at it and isn't sure how to fix it. 我们的TFS管理员已经查看了它,不确定如何解决它。

I am using Visual Studio 2012. 我正在使用Visual Studio 2012。

EDIT: I have tried removing and re-mapping my workspace, no luck. 编辑:我试图删除并重新映射我的工作区,没有运气。

Also, I can check in files in Visual Studio 2010, but it gives me the error in Visual Studio 2012. 另外,我可以在Visual Studio 2010中检入文件,但它给我Visual Studio 2012中的错误。

Fellow employee fixed it. 员工将其修复。 Here's what he did: 这是他的工作:

Removed all workspaces, deleted all files, cleared the credential manager, disconnected from TFS, deleted the TFS connection, closed VS, opened VS, created a new connection to TFS, re-downloaded all files. 删除所有工作区,删除所有文件,清除凭据管理器,与TFS断开连接,删除TFS连接,关闭VS,打开VS,创建与TFS的新连接,然后重新下载所有文件。

转到Windows的凭证管理器,并更改相应TFS实例的用户名。

In Visual Studio 2012 在Visual Studio 2012中

Click on your Workspace dropdown 单击您的工作区下拉菜单

Select Workspaces 选择工作区

Highlight the desired Workspace 突出显示所需的工作区

Click Edit 点击编辑

Click Advanced 点击高级

Then change the Owner 然后更改所有者

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM