mirror of
https://github.com/alrayyes/wiki.git
synced 2025-05-01 22:48:14 +00:00
fix: set upstream in sync handler, cleanup docs around setting up github
This commit is contained in:
parent
a464ae5029
commit
c35818c336
2 changed files with 6 additions and 2 deletions
quartz/cli
|
@ -528,7 +528,7 @@ export async function handleSync(argv) {
|
|||
await popContentFolder(contentFolder)
|
||||
if (argv.push) {
|
||||
console.log("Pushing your changes")
|
||||
const res = spawnSync("git", ["push", "-f", ORIGIN_NAME, QUARTZ_SOURCE_BRANCH], {
|
||||
const res = spawnSync("git", ["push", "-uf", ORIGIN_NAME, QUARTZ_SOURCE_BRANCH], {
|
||||
stdio: "inherit",
|
||||
})
|
||||
if (res.status !== 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue