···12121313![[github-quick-setup.png]]
14141515-In your terminal of choice, navigate to the root of your Quartz folder. Then, run the following command, replacing `REMOTE-URL` with the URL you just copied from the previous step.
1515+In your terminal of choice, navigate to the root of your Quartz folder. Then, run the following commands, replacing `REMOTE-URL` with the URL you just copied from the previous step.
16161717```bash
1818+# add your repository
1819git remote add origin REMOTE-URL
2020+2121+# track the main quartz repository for updates
2222+git remote add upstream https://github.com/jackyzha0/quartz.git
1923```
20242125To verify that you set the remote URL correctly, run the following command.
+1-1
quartz/cli/handlers.js
···528528 await popContentFolder(contentFolder)
529529 if (argv.push) {
530530 console.log("Pushing your changes")
531531- const res = spawnSync("git", ["push", "-f", ORIGIN_NAME, QUARTZ_SOURCE_BRANCH], {
531531+ const res = spawnSync("git", ["push", "-uf", ORIGIN_NAME, QUARTZ_SOURCE_BRANCH], {
532532 stdio: "inherit",
533533 })
534534 if (res.status !== 0) {