Skip to content

Instantly share code, notes, and snippets.

@renaudtertrais
Last active August 21, 2017 09:47
Show Gist options
  • Save renaudtertrais/8993d39abd425d531089f4819e1c9ac9 to your computer and use it in GitHub Desktop.
Save renaudtertrais/8993d39abd425d531089f4819e1c9ac9 to your computer and use it in GitHub Desktop.
Use tfs without visual studio

Use tfs without visual studio

Install tfs cli

  1. Visit: https://github.com/Microsoft/team-explorer-everywhere/releases
  2. Download: TEE-CLC-14.114.0.zip (if version is 14.114.0)
  3. Unzip it and put it somewhere like in your $HOME directory.
  4. Create an alias in your shell profile file (~/.zshrc for zsh for example):
alias tf="$HOME/TEE-CLC-14.114.0/tf"

Clone a remote directory

Open a terminal window in the folder where you want to get the files.

Create a workspace

tf workspace -new -collection:https://[your domain].visualstudio.com/DefaultCollection/ [your workspace name]

Check that the workspace in created

tf workspaces

Link a local directory with a directory on the server

tf workfold -map "$/[path of the directory on the server]" "[absolute path to current folder]" -collection:https://[your domain].visualstudio.com/DefaultCollection/ -workspace:"[your workspace name]"

Get the files

tf get

Use tfs inside VSCode

Now you should be ready to follow this tutorial in order to use tfs inside VSCode.

Installation Visual Studio Team Services for VSCode

Happy coding!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment