TFS2010-How to unlocking the file

本文介绍了解决文件被其他用户锁定无法编辑的问题。通过特定步骤和命令行操作,可以在原始用户不在场的情况下解锁文件,以便其他团队成员进行更新。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Precondition:

User A has locked a file for checkout and he was going on business , now user B need that file to update

 

How to fix?

Steps as the following:

1, navigation to :

All programs> Microsoft Visual Studio 2010> Visual Studio Tools

right click 【Visual Studio Command Prompt(2010)】> run as administrator

 

2, enter command line:

tf undo /workspace:();Domain/user $(file path)

 

for example:

tf undo /workspace:CPC409-ABC263;CDE409-HDC002/echo $/YHQTAS/Documents/Requirements/"18Nov-28Nov MOM"/1118.xls

 

Notes:

1, if the files name has blank space (18Nov-28Nov (blank)MOM)

need to " " the file name

 

otherwise system will prompt a failure message:

No pending changes were found for $/YHQTAS/Documents/Requirements/"18Nov-28NovMOM"/1118.xls 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值