简体   繁体   中英

How can i update the TFS workarea in local machine only updated checked-ins files\folders

For TFS, how can I update my workarea of new check-ins file or folder only. When I'm giving the command tf get WORKAREA LOCATION , it is showing All the files/folders are up to date. But all new check-ins files/folders are not up to date, actually. When I'm running the command tf get WORKAREA LOCATION /recursive /force the get is showing:

Replacing AtomicsTest.java
Replacing BadLegacyDefaults
Replacing BadLegacyDefaults
Replacing BasicXMLClassTest
Replacing BigDecimalSubclas
Replacing EncodingTest.java
Replacing FileTest.java
Replacing HierarchicalField
Replacing HierarchicalField
Replacing InnerClassXMLTest
Replacing PrimitiveClassesT
Replacing PrimitivesTest.ja
Replacing PutFieldGetFieldT
Replacing ReadResolveTest.j
Replacing ReferenceTest.jav
Replacing SelfReferentialTe
Replacing SerializableObjec
Replacing SerializationTest
Replacing StandardSerialize
Replacing StringTest.java
Replacing TCDictionaryXMLTe
Replacing TransientAndStati
Replacing XMLTestSuite.java

Which means updating each files and folder which is also not new which takes more time to update. So is there ant way to update only new files/folders only.

Running tf get from a directory in your workspace will update all out-of-date sources. Passing the /force parameter will cause all files to be retrieved rather than just those that are out of date.

If you only want files beneath a particular particular path, you can specify an itemspec . The command line would look like this:

tf get $/project/folder/subfolder /recursive

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