top of page
Search
Writer's pictureSunil Thomas

Clone a specific branch in visual studio


Cloning from the master branch is straightforward, but cloning from a specific branch is a bit different. There are various methods to accomplish this, but I prefer this approach.

  1. Create a folder on your system where you want to store the code.

  2. Open Visual Studio Code, go to the Terminal, and navigate to the folder you created in step 1.

  3. Enter the following command:

    git clone -b develop https://gdr@dev.azure.com/gdrMigration/Rental/_git/Proj2023.

Explanation:

develop: The branch that will be cloned.



0 views0 comments

Kommentare


bottom of page