From the course: Visual Studio: Source Control with Git and GitHub

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Sync existing local remote to GitHub

Sync existing local remote to GitHub - Visual Studio Tutorial

From the course: Visual Studio: Source Control with Git and GitHub

Start my 1-month free trial

Sync existing local remote to GitHub

- [Instructor] Here is another scenario: I have an open solution in a project. I've written some code. I've already created the local Git repository. I've checked my code in. It's been committed to the local repository. It's time to start collaborating with my teammates. I need to create the remote GitHub repository. I'd like to do that from Visual Studio. I can go to Team Explorer. I'll start by looking at connections. We saw this in the last video. My two choices here are to clone an existing GitHub repo and make a copy of it locally. I don't want to do that. We saw how to do Create in the last video. That creates an empty folder on my local hard drive. I don't want to do that because I already have the existing files. The answer is to go to Team Explorer Home and then click on Sync. At the top it says, "Use this area to backup and share your code and publish it to a Git service." So Microsoft has included their…

Contents