Is there a way to check-out multiple files from various folders in TFS in a single operation.
i have modified multiple files under muliple direcotries but i want them to check-out in a single click and check-in also in single click.
Thanks.
Check Out: Prevent other users from checking out and checking in the items until you check in and unlock them. Check In: Allow other users to check out the items you are checking out, but prevent them from checking in their changes until you check in your changes and unlock the items.
Yes, using the TFS command line client (tf.exe).
If you have tf.exe available, you could do this using the checkout command. (If you don't, take a look at this question: How to get tf.exe (TFS command line client)?)
Checkout command for Visual Studio 2013-2015: https://www.visualstudio.com/en-us/docs/tfvc/checkout-or-edit-command
Older versions: https://msdn.microsoft.com/en-us/library/1yft8zkw(v=vs.80).aspx
Example: Separate multiple files by spaces
tf checkout file2.cs file2.cs
Example: Use a wildcard to search
tf checkout *.csproj /recursive
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With