From d205eb568686a718cae889d51fde5ae18d352b30 Mon Sep 17 00:00:00 2001 From: Jacky Zhao <j.zhao2k19@gmail.com> Date: Sun, 20 Aug 2023 05:19:49 +0000 Subject: [PATCH] docs: make setting upstream more clear, docs on npx quartz restore --- content/migrating from Quartz 3.md | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/content/migrating from Quartz 3.md b/content/migrating from Quartz 3.md index 3b6f925..d9e3a1d 100644 --- a/content/migrating from Quartz 3.md +++ b/content/migrating from Quartz 3.md @@ -12,6 +12,12 @@ npx quartz create ``` +If you get an error like `fatal: 'upstream' does not appear to be a git repository`, make sure you add `upstream` as a remote origin: + +```shell +git remote add upstream https://github.com/jackyzha0/quartz.git +``` + When running `npx quartz create`, you will be prompted as to how to initialize your content folder. Here, you can choose to import or link your previous content folder and Quartz should work just as you expect it to. > [!note] -- Gitblit v1.10.0