mirror of
https://github.com/kiliman/operator-mono-lig.git
synced 2026-08-12 02:10:52 +02:00
1.2 KiB
1.2 KiB
Committing your Glyphs file
The Glyphs file is very difficult to merge, so standard tools like git rebase don't work well. I have created some tools that will allow you to update your existing Glyphs file on top of the current.
{% hint style="warning" %} Make sure you have created a separate branch for your changes and you've committed all your changes to the branch. {% endhint %}
- When you're ready to issue a PR for your changes, you need to run the
./tools/glyphysrebase.shtool. - You can now create your PR, or continue making changes and running the rebase tool periodically to keep up-to-date with master.
How the tool works
- Checks out a clean copy of
masterin a temporary folder. - Copies your current working copy to a backup folder.
- Copies the master copy into your working copy (basically resetting everything back before your changes).
- Runs the
./tools/copyallglyphs.shscript to copy ligatures from your backup folder to the current master in your working copy. - At this point, you now have a glyphs file that includes your custom ligatures on top of the current master.
- The "rebased" files are then committed.
- You can now issue a PR. This should easily merge into master.