Friday, September 16, 2011

TFS command to delete a branch

This is a useful command to cancel branching.

tf destroy $// /startcleanup /noprompt /login:username,[password] [/collection:uri]

This cleans up branching history also.

Wednesday, September 14, 2011

TFS command to see workspace information

tf workspaces /format:detailed /server:http://servername:8080/tfs workspacename


tf workspaces /format:detailed /server:servername workspacename





TFS workspace problem? Clean up user cache!

Most of workspace problem encountered are caused by remaining user cache.
You have to clean up two places.

C:\Users\username\AppData\Local\Microsoft\Team Foundation\3.0\Cache

C:\Users\username\AppData\Local\Microsoft\VisualStudio\10.0