How do you set the default clone directory in Visual Studio Code? After I select Git:Clone, I paste the repository URL, and then I get asked for Parent Directory. How do I set the parent directory to a different default directory?
Click on "Settings" (from either the project Home menu or from the top dropdown menu), then select "Git Settings." You will see a Global Setting of "Default Repository Location" (the one you want). Change it and click Update.
Then from caja right click on a file : open with -> other application . Then select the command code-standard-path and check Remember this application for "..." files . Now everytime you double-click on the specific file from whatever location, vscode will open in that predefined directory or workspace.
There is an option for this in the user settings:
git.defaultCloneDirectory
Under windows you can press CTRL + ,
to open the user settings and enter the path to your desired directory with slashes:
"git.defaultCloneDirectory": "E:/yourPath/toYour/gitFolder/"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With