0.1.1
This commit is contained in:
parent
647d75921f
commit
c0f7a83d36
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ function activate(context) {
|
||||||
if (!gitBranch.length) gitBranch = "main";
|
if (!gitBranch.length) gitBranch = "main";
|
||||||
|
|
||||||
chp.exec(
|
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 },
|
{ cwd: vscode.workspace.workspaceFolders[0].uri.fsPath },
|
||||||
(err, stdout, stderr) => {
|
(err, stdout, stderr) => {
|
||||||
if (err) {
|
if (err) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue