Skip to content
This repository was archived by the owner on Jul 16, 2024. It is now read-only.

Contribute

magnific0 edited this page Mar 7, 2014 · 2 revisions

Do you want to join PaGMO development? We welcome new contributors to work on different aspects of the project. Get in touch with the other developers and join the PaGMO development Mailing list or pop in to the IRC channel!!

Fork

You should make all you changes in your fork of pagmo first and test them out yourself.

Simply click the little Fork button on the top.

Pull requests

If everything is working and you are happy, you can contribute your changes to the official pagmo by creating a pull request.

Go to your local forked repository and browse the the correct branch (e.g. development)

https://github.com/user/pagmo/tree/development

Click the "Compare & pull request" button and write a detailed description of your changes.

Syncing your fork

To keep your fork of PaGMO up-to-date with the latest PaGMO version (without re-forking every time) you need to sync your repository with upstream. A short summary of this process is described below.

To list the current remotes execute:

git remote -v

To add the original PaGMO repo call:

git remote add upstream https://github.com/esa/pagmo.git

Now fetch the upstream (note this command should be executed every time you sync the repos):

git fetch upstream

To merge changes is a single branch do:

git checkout development
git merge upstream/development

In case you have no unique local commits the git will simply fast-forward.

Clone this wiki locally