简体   繁体   中英

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

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

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

tfpt treeclean /noprompt /preview /recursive

TFS PowerTools can do that

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

After installing it, from the command line try:

tfpt online

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

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