We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c30ae90 commit 3bbbad3Copy full SHA for 3bbbad3
1 file changed
extensions/git/src/commands.ts
@@ -450,10 +450,7 @@ export class CommandCenter {
450
return;
451
}
452
453
- const match = /git\s+clone\s+(.*)/.exec(url);
454
- if (match) {
455
- url = match[1];
456
- }
+ url = url.replace(/^\s*git\s+clone\s+/, '');
457
458
const config = workspace.getConfiguration('git');
459
let defaultCloneDirectory = config.get<string>('defaultCloneDirectory') || os.homedir();
0 commit comments