Home » Git » How to connect Visual Studio 2015 to an existing Gitlab project?

How to connect Visual Studio 2015 to an existing Gitlab project?

Posted by: admin November 15, 2021 Leave a comment

Questions:

There is an on-premise instance of gitlab installed. There are Visual Studio projects in this instance. What is the easiest way of connecting Visual Studio 2015 to one of the projects?

With GitHub, you can do it by selecting “Connect to GitHub” as on the following picture:
enter image description here

and then pasting the repository url. There is no GitLab option in the drop down. What is the easiest way of configuring Visual Studio 2015 to work with a solution from gitlab repository? By work I mean to have your usual source control bindings to the repository.

Note, that this question is probably useful in more general context of connecting to any git repository that is not GitHub, and does not have direct support with built-in Visual Studio menu, not just to GitLab repository.

Answers: