This commit is contained in:
Louis Lam 2022-09-09 01:57:42 +08:00
parent 676e64c77d
commit dad2ec1164

View file

@ -22,7 +22,7 @@ let result = childProcess.spawnSync("git", [ "remote", "add", name, `https://git
console.log(result.stdout.toString()); console.log(result.stdout.toString());
console.error(result.stderr.toString()); console.error(result.stderr.toString());
result = childProcess.spawnSync("git", [ "checkout", `${name}/${branch}`, "--force" ]); result = childProcess.spawnSync("git", [ "pull", name, branch ]);
console.log(result.stdout.toString()); console.log(result.stdout.toString());
console.error(result.stderr.toString()); console.error(result.stderr.toString());