您的位置:首页 > 其它

How to undo pending changes by others

2007-08-01 22:31 351 查看
TFS source control differs significantly form VSS. e.g. when I want to undo pending changes by others, where should I start? - no UI command menu, only command-line utility available, the tf.exe

The document in msdn is not clear enough (maybe only to myself ):

tf undo [/workspace:workspacename[;workspaceowner]] 
[/server:servername] [/recursive] itemspec [/noprompt
http://msdn2.microsoft.com/en-us/library/c72skhw4(VS.80).aspx
Two notes for above command:
1. workspaceowner - don't forget domain name if a domain user e.g. MyDomain/AnotherUserName
2. itemspec - try to use the fullpath if no luck e.g. $/ProjectName/trunk/FolderName/FileName.cs
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: