From 3583265f80afa081bf7a1fe996a9b3fe3c4e32e0 Mon Sep 17 00:00:00 2001 From: meleu <meleu@users.noreply.github.com> Date: Mon, 04 Apr 2022 20:30:23 +0000 Subject: [PATCH] docs: warn about possible lost of customization --- content/notes/setup.md | 21 ++++++++++++++++++++- 1 files changed, 20 insertions(+), 1 deletions(-) diff --git a/content/notes/setup.md b/content/notes/setup.md index 2cd463d..0a008b1 100644 --- a/content/notes/setup.md +++ b/content/notes/setup.md @@ -1,5 +1,7 @@ --- title: "Setup" +tags: +- setup --- ## Making your own Quartz @@ -26,4 +28,21 @@ ✏️ [Editing Notes in Quartz](notes/editing.md) -Having problems? Checkout our [FAQ and Troubleshooting guide](notes/troubleshooting.md). \ No newline at end of file +Having problems? Checkout our [FAQ and Troubleshooting guide](notes/troubleshooting.md). + +## Updating +Haven't updated Quartz in a while and want all the cool new optimizations? + +> ⚠️ **WARNING** ⚠️ +> +> if you customized `assets/styles/custom.scss`, the files in `data/`, or anything inside `layouts/`, your customization may be overwritten! + + +```shell +# add Quartz as a remote host +git remote add upstream git@github.com:jackyzha0/quartz.git + +# index and fetch changes +git fetch upstream +git checkout upstream/hugo -- layouts .github Makefile assets config.toml data static +``` -- Gitblit v1.10.0