New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow passing parent directory to git.clone
command
#85458
Comments
Fixing the quirk is fine in the future. Thus pushing it out to the On Deck milestone since Joao is on vacation. |
+1 for this issue. I'm also working on a VS Code extension (specifically the C++ extension here in Redmond). We're working on an experience that involves operating on the files in a repository that the user has cloned via the git.clone command, but currently there is no way to know which parent directory was selected. Allowing the repository parent directory to be passed in would solve the problem entirely for us -- I'll be watching this issue closely. 🙂 |
Thanks @vially! |
Since this is already implemented I am closign this issue. |
@isidorn @connor4312 should this issue be labelled with |
I'm working on a Visual Studio Code extension that's supposed to make it easier to clone a git repository in a user configured directory.
The basic idea is that the user configures the
clone
directory once (e.g.: insettings.json
) and then all the cloned repositories will be placed in this directory.The git.clone command seems the ideal candidate for implementing something like this (especially now with the new awesome progress bar). However, the only problem is that the
git.clone
command is always interactively asking the user for the destination directory.This feature request is about adding an option to the
git.clone
command which would allow other extensions to clone a repository in a specific directory without showing theSelect Repository Location
dialog.One possible implementation could be as simple as adding another optional argument (for the destination directory) to the
git.clone
command (#85459).The text was updated successfully, but these errors were encountered: