

As counter-intuitive as this sounds, it simply pulls down the branch to your machine. Select the desired branch and click “Create Branch”. Or you can open the Command palette by hitting Ctrl+Shift+P (Cmd+Shift+P on Mac), then typing the Git: Create Branch command into the input bar. The branches for the project are listed in the dropdown. In Visual Studio Code, you can create new branches by clicking on the name of the current branch in the bottom left and selecting + Create New Branch. From there click on the Branch dropdown and select New Branch. You will notice that the branch you want to work with is missing!ĭouble click the project that is now listed, which will open up the Home screen for that project. The project will pull down into the designated folder. Enter the URL of the Git project into the textbox. Lets see this new feature with an example screen. Now with Visual Studio 2015, local branches as well as remote branches are shown separately in a tree view.

Branching: Branching in a Git is a lightweight movable pointer that points to the commits. In Visual Studio, open up the Team Explorer tab, and select the Connect icon. Open Visual Studio (2013) Create a new application. Here are the steps I followed to get a specific branch from GitLab (or any Git-based server). Working with a specific branch in Visual Studio 2013 isn’t as intuitive as I expected. I’ve primarily been using TFS at my previous position. It exposes the most common GitFlow options when finishing branches, such as options to delete branches, rebase on development branch and tagging of release branches. Allegient, my new employer, uses GitLab for source control on the project I am currently engaged on. It lets you easily create and finish feature, release and hotfix branches right from Team Explorer.
