Files
imdd_silas/Functions/helper_functions_community/schemer/CONTRIBUTING.md
Silas Labor Zizou 99fe2ca106 Commit Friday evening.
PDFA and EXFO Laser are now part of the family
2024-10-25 20:31:50 +02:00

1.8 KiB

Contributing

Adding a new colour scheme

If you have created a new colour scheme, please add it to the matlab-schemes repository and not here. Instructions for this are available here.

If you have already added a new colour scheme to matlab-schemes via an accepted pull request and want to mirror the change in matlab-schemer, you will need to use git-subtree.

Some general handy instructions for git subtree are available here, here, and here. Specifically for use with this repository, the instructions are as follows.

You will first need to set up subtree so there is a remote tracking the matlab-schemes repository in addition to the usual origin remote tracking your fork of matlab-schemer.

# One-time setup
git remote add matlab-schemes https://github.com/scottclowe/matlab-schemes.git

Having done this setup, you can now merge commits from matlab-schemes into matlab-schemer as follows:

git pull
git subtree pull --prefix schemes matlab-schemes master
git push

Improving MATLAB Schemer

If you have made enhancements or bug fixes to MATLAB Schemer, itself please add them with a regular pull request to this repository.