mirror of
https://github.com/alrayyes/wiki.git
synced 2025-05-02 23:08:14 +00:00
update npx quartz update script
This commit is contained in:
parent
cea6834fef
commit
ebf3263b7e
3 changed files with 23 additions and 3 deletions
quartz
|
@ -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" })
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue