Merge pull request #93 from meleu/patch-3

This commit is contained in:
Jacky Zhao 2022-04-04 23:56:28 -07:00 committed by GitHub
commit 3ce6944c18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,11 +33,16 @@ Having problems? Checkout our [FAQ and Troubleshooting guide](notes/troubleshoot
## 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 layouts static
git checkout upstream/hugo -- layouts .github Makefile assets config.toml data static
```