readme fixes, force

This commit is contained in:
Jacky Zhao 2023-08-02 23:42:49 -07:00
parent fdf1e2a41d
commit 6457496b4b
2 changed files with 2 additions and 2 deletions

View File

@ -9,6 +9,6 @@ Please note that v4 is still beta software and will probably contain bugs. Use w
**If you are looking for Quartz v3, you can find it on the [`hugo` branch](https://github.com/jackyzha0/quartz/tree/hugo).**
🔗 Read the documentation and setup instructions: https://quartz.jzhao.xyz/
🔗 Read the documentation and setup instructions: https://four.quartz.jzhao.xyz/
[Join the Discord Community](https://discord.gg/cRFFHYye7t)

View File

@ -280,7 +280,7 @@ See the [documentation](https://quartz.jzhao.xyz) for how to get started.
await popContentFolder(contentFolder)
if (argv.push) {
console.log("Pushing your changes")
spawnSync("git", ["push", ORIGIN_NAME, QUARTZ_SOURCE_BRANCH], { stdio: "inherit" })
spawnSync("git", ["push", "-f", ORIGIN_NAME, QUARTZ_SOURCE_BRANCH], { stdio: "inherit" })
}
console.log(chalk.green("Done!"))