fix: set upstream in sync handler, cleanup docs around setting up github
This commit is contained in:
1 parent
a464ae5029
commit
c35818c336
2 files changed
+6
-2
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user