提交 0d5596bb 编写于 作者: H Howard Hung

Feat. #77878 - trim git clone

上级 780a5085
......@@ -450,6 +450,11 @@ export class CommandCenter {
return;
}
const match = /git\s+clone\s+(.*)/.exec(url);
if (match) {
url = match[1];
}
const config = workspace.getConfiguration('git');
let defaultCloneDirectory = config.get<string>('defaultCloneDirectory') || os.homedir();
defaultCloneDirectory = defaultCloneDirectory.replace(/^~/, os.homedir());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册