The Trans Directory
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: set upstream in sync handler, cleanup docs around setting up github

+6 -2
+5 -1
docs/setting up your GitHub repository.md
··· 12 12 13 13 ![[github-quick-setup.png]] 14 14 15 - 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. 15 + 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. 16 16 17 17 ```bash 18 + # add your repository 18 19 git remote add origin REMOTE-URL 20 + 21 + # track the main quartz repository for updates 22 + git remote add upstream https://github.com/jackyzha0/quartz.git 19 23 ``` 20 24 21 25 To verify that you set the remote URL correctly, run the following command.
+1 -1
quartz/cli/handlers.js
··· 528 528 await popContentFolder(contentFolder) 529 529 if (argv.push) { 530 530 console.log("Pushing your changes") 531 - const res = spawnSync("git", ["push", "-f", ORIGIN_NAME, QUARTZ_SOURCE_BRANCH], { 531 + const res = spawnSync("git", ["push", "-uf", ORIGIN_NAME, QUARTZ_SOURCE_BRANCH], { 532 532 stdio: "inherit", 533 533 }) 534 534 if (res.status !== 0) {