Click here to Skip to main content
15,888,330 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I was added to a team of developers who has the source code on something.visualstudio.com . How do i pull the code to my machine, work on it and push back to the account?

What I have tried:

i have used the link "Open in Visual Studio" that is on the dashboard of the account but it just opens an instance of visual studio, i don't know if i am to create a new project or not.
Posted
Updated 22-Dec-17 21:26pm
Comments
Patrice T 23-Dec-17 2:42am    
What say other people in the team ?

1 solution

You can do that, just like with any other version control system. Visual Studio provides two ways to manage and version your source code,

1) Git (VSTS, Git for Visual Studio etc.)
2) TFVC (Team Foundation Version Control)

First you need to check what does your repository use, that will narrow down the search a bit. If your repository is using Git version control or some derived ones, then you would be using git to pull/push and commit the changes. On the other hand, if your repository uses TFVC then check in/check out is the way to go and you would need to have the setup to configure the TFVC on system — Visual Studio would solve most problems for you.
Quote:
"Open in Visual Studio"
It does open in Visual Studio, but you need to guide the IDE further to tell it to either clone the project, pull in a project or do what.

A version control is never as easy as, copy/paste or open the sln file. A version control is most likely to setup the repository on your machine and then track the changes. I recommend that you start off here, VSTS and TFS Documentation | Microsoft Docs[^]

Last year, I created a Playlist on YouTube for beginners, although it does not contain the TFVC in it but for Git based projects it can help you: Introduction to Visual Studio Team Services - YouTube[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900