diff --git a/quartz/cli/helpers.js b/quartz/cli/helpers.js index 7339e24..75334c7 100644 --- a/quartz/cli/helpers.js +++ b/quartz/cli/helpers.js @@ -34,7 +34,7 @@ export async function stashContentFolder(contentFolder) { } export function gitPull(origin, branch) { - const flags = ["--no-rebase", "--autostash", "--no-edit"] + const flags = ["--no-rebase", "--autostash", "--no-edit", "--allow-unrelated-histories"] const out = spawnSync("git", ["pull", ...flags, origin, branch], { stdio: "inherit" }) if (out.stderr) { throw new Error(styleText("red", `Error while pulling updates: ${out.stderr}`))