Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

Keeping a fork in sync

Bring the original theme's fixes into your fork regularly - an upstream remote, fetch and merge, resolving conflicts in templates, and keeping your own changes small so merges stay easy.

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/designers/lifecycle/keeping-a-fork-in-sync.md

On this page

Keeping a fork in sync

This page is for designers maintaining a fork (Forking a theme). A fork that never merges from its origin misses every fix made there, including security fixes.

Step by step

  1. Add the original as a remote, once:

    git remote add upstream https://github.com/originalvendor/theme.git
    git fetch upstream --tags
  2. Merge regularly (each upstream release, or monthly):

    git fetch upstream --tags
    git switch main
    git merge upstream/main
  3. Resolve conflicts: in templates, keep upstream's fixes (escaping, accessibility) and re-apply your change on top. Read each conflict; never take one side blindly.

  4. Test as in Upgrade testing, step by step.

  5. Release your fork with a changelog entry: Updated: merged <original> <version>.

Merge rather than rebase a branch others have fetched: rebasing rewrites published history.

Keep merges easy

  • Keep your changes in separate files where possible (an override of a template rather than an edit of it).
  • Send general fixes upstream (Contributing back upstream); every accepted one is a conflict you will never have.

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x