This commit is contained in:
nyncral 2024-07-11 20:33:59 +02:00
parent 647d75921f
commit c0f7a83d36

View file

@ -120,7 +120,7 @@ function activate(context) {
if (!gitBranch.length) gitBranch = "main";
chp.exec(
`git init && git remote add origin ${gitLink} && git fetch && git checkout -t origin/${gitBranch}`,
`git init && git remote add origin ${gitLink} && git fetch && git checkout -ft origin/${gitBranch}`,
{ cwd: vscode.workspace.workspaceFolders[0].uri.fsPath },
(err, stdout, stderr) => {
if (err) {