update npx quartz update script

This commit is contained in:
Jacky Zhao 2023-08-09 09:10:40 -07:00
parent cea6834fef
commit ebf3263b7e
3 changed files with 23 additions and 3 deletions

View file

@ -129,7 +129,7 @@ async function popContentFolder(contentFolder) {
}
function gitPull(origin, branch) {
const flags = ["-s", "recursive", "-X", "ours", "--no-edit"]
const flags = ["--no-rebase", "--autostash", "-s", "recursive", "-X", "ours", "--no-edit"]
spawnSync("git", ["pull", ...flags, origin, branch], { stdio: "inherit" })
}