Get Updates
How to sync new features and fixes from Moire
Since Moire is deployed by Forking, you will need to manually sync with the upstream code whenever you want new features or bug fixes for the website. Updates related to Shortcuts can be ignored.
Method 1: Using the GitHub Web Interface (Recommended)
Section titled “Method 1: Using the GitHub Web Interface (Recommended)”This is the simplest method and does not require using the command line.
-
Open your GitHub repository page (e.g.,
yourname/moirelog.github.io). -
Find the Sync fork button above the file list.
-
Click Update branch.
Method 2: Using the Command Line
Section titled “Method 2: Using the Command Line”If you are comfortable with Git, you can also perform the merge locally.
-
Add the upstream repository:
Terminal window git remote add upstream https://github.com/moirelog/moire.git -
Fetch updates:
Terminal window git fetch upstream -
Merge into your local main branch:
Terminal window git checkout maingit merge upstream/main -
Push to your repository:
Terminal window git push origin main
Considerations
Section titled “Considerations”- Configuration File: Updates usually do not modify your
moire.config.ts, but handle with care if you encounter conflicts. - Custom Modifications: If you have modified core system code (such as page layouts), merging may result in conflicts that require manual resolution.