Skip to content

Latest commit

 

History

History
47 lines (37 loc) · 1.79 KB

CONTRIBUTING.md

File metadata and controls

47 lines (37 loc) · 1.79 KB

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.