What does /nodetect flag do, when using the tf status?

438 Views Asked by At

When interacting with TFS from the command line, the tf status command has an undocumented flag named /nodetect. What is it for? What does it do?

My best guess is that it prevents it from trying to be smart about detecting changed files, but I can't seem to verify any change in behaviour when running the command with that flag.

2

There are 2 best solutions below

2
jessehouwing On

It only looks at files that have been explicitly check out or have been registered as a pending change. It won't look at the stored hashes to detect changed or missing or added files. It's useful for local workspaces, in server workspaces it doesn't add any behavior, as with server workspaces you need to always be explicit about your changes through the checkout/add/move commands.

0
Cece Dong - MSFT On

Please check the feedback at website below:

https://github.com/MicrosoftDocs/vsts-docs/issues/292

Steve has mentioned "I've added this to our documentation backlog and we'll get it updated."