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 EncodingT开发者_C百科est.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
精彩评论