From 443cd53a1acf33ac0aaa34e0e75760d3da912d18 Mon Sep 17 00:00:00 2001
From: Jacky Zhao <j.zhao2k19@gmail.com>
Date: Tue, 19 Dec 2023 07:09:49 +0000
Subject: [PATCH] fix: mermaid rendering broken after rehype-pretty-code bump (closes #638)

---
 docs/setting up your GitHub repository.md |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/docs/setting up your GitHub repository.md b/docs/setting up your GitHub repository.md
index ca67e85..1b5461b 100644
--- a/docs/setting up your GitHub repository.md
+++ b/docs/setting up your GitHub repository.md
@@ -31,5 +31,9 @@
 Then, you can sync the content to upload it to your repository.
 
 ```bash
-npx quartz sync
+npx quartz sync --no-pull
 ```
+
+> [!hint]
+> If `npx quartz sync` fails with `fatal: --[no-]autostash option is only valid with --rebase`, you
+> may have an outdated version of `git`. Updating `git` should fix this issue.

--
Gitblit v1.10.0