Skip to content
On this page

Distribute Changes ​

Either you developed a new feature which is worth it to apply to the Statix Core or you want to add specific new features to your project.

Add to Statix Core ​

Command line in Statix project.

1. Add other-project to the remotes ​

Make sure to exchange <other-project>

sh
$ git remote add <other-project> git@github.com:<org>/<other-project>.git
sh
$ git fetch <other-project>

2. Create new branch for updates ​

sh
$ git checkout -b <branch-for-update-from-other-project>

3. Cherry Pick commits or squashed Pull Request ​

sh
$ git cherry-pick <commit-sha>

4. Push branch to Statix upstream ​

Add to Other Project ​

This is pretty much the same, you just need to add Statix to your project. So, follow the steps above in your project and exchange <other-project> to statix.

sh
$ git remote add statix git@github.com:convidera/statix.git

Released under the MIT License.