Theo
Theo

Reputation: 1475

I deleted my local directory in tf. How to re-get it?

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???

Upvotes: 1

Views: 65

Answers (1)

DaveShaw
DaveShaw

Reputation: 52798

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:

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

/overwrite
Overwrites writable files that are not checked out.

/force
Implies /all and /overwrite.

Upvotes: 3

Related Questions