Visual Studio: Change default path for repositories for GIT plugin

后端 未结 3 1094
[愿得一人]
[愿得一人] 2020-12-23 13:08

I want to clone a GitHub repository from Visual Studio and the default path is C:\\Users\\[User]\\Sources\\Repos\\[NameOfProject].

3条回答
  •  攒了一身酷
    2020-12-23 13:24

    In Visual Studio 2015 / 2017 / 2019:

    1. Click The Home Button in Team Explorer
    2. Click on Settings
    3. Click on Global Settings under Git
      (Note: may not appear if you have no cloned git repos)
    4. Alter the Path for the Default Repository Location
    5. Click Update

提交回复
热议问题