How to set the default Visual Studio Code clone directory

How do I set the default cloning directory in Visual Studio Code? After choosing Git: Clone, I paste the repository url and then I am asked in the Parent Directory. How do I set the parent directory to another default directory?

+3


source to share


1 answer


There is an option in the user settings:

git.defaultCloneDirectory

      

Third party editing



In windows, you can click STRG + ,

to open user preferences and enter the path to the desired directory with a forward slash:

"git.defaultCloneDirectory": "E:/yourPath/toYour/gitFolder/" 

      

+4


source







All Articles