简体   繁体   中英

How do I change my TFS identity?

When I was first getting set up in TFS, my company misspelled my username. They since changed it to the correct spelling, but that change was apparently not reflected in 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? Our TFS administrator has looked at it and isn't sure how to fix it.

I am using 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.

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.

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

In Visual Studio 2012

Click on your Workspace dropdown

Select Workspaces

Highlight the desired Workspace

Click Edit

Click Advanced

Then change the Owner

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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