Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TFS: How to find untracked files in a TFS workspace?

Tags:

tfs

Is there any easy way to list all untracked files in a TFS workspace, like what "git status" reports in the "untracked files" section, or the output of the following command:

git ls-files --other --exclude-standard
like image 224
Guopeng Avatar asked Jul 14 '11 06:07

Guopeng


3 Answers

TFS PowerTools works for me! I also find I can get the same result with the following command:

tfpt treeclean /noprompt /preview /recursive
like image 99
Guopeng Avatar answered Nov 08 '22 07:11

Guopeng


TFS PowerTools can do that

http://msdn.microsoft.com/en-us/tfs2008/bb980963.aspx

After installing it, from the command line try:

tfpt online

like image 33
Devin Garner Avatar answered Nov 08 '22 07:11

Devin Garner


In Visual Studio IDE, in Source Control Explorer, right click on a folder an choose "Compare". This will allow you to compare local folder with your source control folder. There are various options there as well like ability to show or hide items that exist only on one side, exclude files by extensions, etc

like image 29
demp Avatar answered Nov 08 '22 05:11

demp