You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi team, We are using vscode internal git extension command clone to clone the repository with a specific branch. However, It doesn't look like from source code here that if there's a way to do so
Also, we would like to know if there is a way to disable this below popup which asks users whether they want to open the cloned repository in the file explorer. Could you please help take a look into this below issue?
Command: commands.executeCommand("git.clone", "repositoryUrl", "directory to clone");
also checkout command is throwing error: no repo found after cloning repo and executing below command:
commands.executeCommand("git.checkout", repositoryUrl, directory where repo cloned, 'branchName'); not sure how to clone specific branch.
Popup to disable:
The text was updated successfully, but these errors were encountered:
omkar07
changed the title
Git clone command to support cloning with specific branch & a way to avoid the popup which ask user whether he wants open it in explorer
Git clone command to support cloning with specific branch & disable popup which ask user whether he wants open it in explorer
Mar 22, 2022
@omkar07, as of right now there is no way to close a branch directly using the clone extension command. The popup that you are referring to is being controlled by the git.openAfterClone setting which is set to prompt by default. You can change the setting depending of the experience that you would like to have.
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
🙁 In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation.
Hi team, We are using vscode internal git extension command clone to clone the repository with a specific branch. However, It doesn't look like from source code here that if there's a way to do so
vscode/extensions/git/src/git.ts
Line 393 in c3f1263
Also, we would like to know if there is a way to disable this below popup which asks users whether they want to open the cloned repository in the file explorer. Could you please help take a look into this below issue?
Command: commands.executeCommand("git.clone", "repositoryUrl", "directory to clone");
also checkout command is throwing error: no repo found after cloning repo and executing below command:
commands.executeCommand("git.checkout", repositoryUrl,
directory where repo cloned
, 'branchName'); not sure how to clone specific branch.Popup to disable:
The text was updated successfully, but these errors were encountered: