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.

Examine GitHub configuration information

Examine GitHub configuration information - Visual Studio Tutorial

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

Start my 1-month free trial

Examine GitHub configuration information

- [Instructor] When are working with a remote repository, Git needs to know some information about that repository and that's stored in configuration data. We've already seen that it needs credentials so that it can login successfully to GitHub. It also needs to know some endpoints, the URLs for the repository. I can show that in PowerShell by running this command: git remote show. This is asking to show some configuration information. Then you provide the name of the remote. You might recall that when we created this, I called this remote "origin" and here at the top are the two URLs: the fetch URL and the push URL. They happen to be at the same location in this repository. Fetch is used to get information from the remote and push is used when you push changes to the remote. That's also some information that's not important for this demo. Let's see how to find that information in Visual Studio. Go to Team Explorer, go to…

Contents