Take the 2-minute tour ×

I am on linux, command line tf.

I delete my local directory. Now the tf get does not retrieve the files -

How do I get it back from tfs???

share|improve this question
Do you mean you deleted it from the repo or from your actual filesystem? –  keyboardP Jul 2 '13 at 16:35

1 Answer 1

You need to use the following command:

tf get /force

You could also use /all. But I prefer /force to resync a working copy with the server, just so that nothing is missed.

From MSDN:

Forces all files to be retrieved, not just those that are out-of-date.

Overwrites writable files that are not checked out.

Implies /all and /overwrite.

share|improve this answer

Your Answer


