Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Get latest source code from TFS #305

Closed
joekytse opened this issue Aug 21, 2017 · 3 comments
Closed

Get latest source code from TFS #305

joekytse opened this issue Aug 21, 2017 · 3 comments

Comments

@joekytse
Copy link

joekytse commented Aug 21, 2017

Hi there, thanks for providing this great tool. It provides a convenient way to work with the TFS.

I just setup a new project on TFS and was able to check-in changes to the TFS following the instructions with it using Visual Studio Code. But how can I get latest source code from TFS (in the same way as visual studio)?
I couldn't find any matching command by typing "team" in the command palette, and also didn't see any relevant commands in the official page too...
https://marketplace.visualstudio.com/items?itemName=ms-vsts.team

I am using version 1.122.0. Any help is appreciated


Edit:
right now I'm running the TF command in terminal to get the latest souce code:
tf get "$/" /recursive

is there another way provided by the tool?

@jeffyoung
Copy link
Contributor

Hi @joekytse. Thanks for using the extension.

Yes, you can get the latest code from the server by using the "Sync" command found off of the "..." menu on the SCM Viewlet. Many of the commands are provided via the SCM viewlet UI.
image

There aren't too many commands for tfvc provided in the command palette, but if you use the 'TFVC' prefix, you'll see that Sync is one of them:
image

Finally, if you haven't seen them yet, there are 'Getting Started Videos' listed at https://github.com/Microsoft/vsts-vscode/blob/master/TFVC_README.md#getting-started-videos. The first is an overview of the TFVC support.

@joekytse
Copy link
Author

Hi @jeffyoung
Thanks a lot for the info. I completely missed that function lol

@jeffyoung
Copy link
Contributor

Glad you got it sorted! 😄

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants