-
-
Notifications
You must be signed in to change notification settings - Fork 47
Syncing your template
Binyamin Aron Green edited this page Dec 26, 2020
·
2 revisions
If you need to update your version of eleventy-garden, run the following git commands
# Set up reference to original template (first time only)
$ git remote add upstream https://github.com/binyamin/eleventy-garden.git
$ git fetch upstream
# Save any uncommited changes
$ git stash
# Update repository
$ git merge upstream/main -m "Update from template"
# Recreate any uncommited changes
$ git stash apply
You may see merge conflicts (ie. lines of code which changed in both your version and the original). VS Code can help you resolve them.
Questions? Open an issue!