Thank you for your interest in contributing to the xPilot project!
All contributions to this project should be made in the form of a GitHub pull request. Each pull request will be reviewed by the project owner. If the contribution is deemed to be beneficial, it will either be merged in or presented with feedback for changes that would be required. All accepted contributions will be licensed under GPLv3.
The first thing you should do is search through the issues and pull requests to see if someone else had a similar idea or question.
Pull requests are the easiest (and most preferred) way to contribute changes because they offer a clean way for commenting and revising of proposed changes.
- Create a GitHub account if you don't already have one.
Fork
the project repository by clicking the Fork button on top right of the repository page.Clone
your forked repositorygit clone https://github.com/xpilot-project/xpilot.git
- Add a new feature branch
git checkout -b my-feature-branch
- Make changes to the code and commit them locally (your commit message should describe what the changes are)
- Push your new branch to your fork on GitHub
git push -u origin my-feature-branch
- From your forked GitHub repository, open a pull request in the branch that contains your contributions. If you need to add additional commits to your pull request, you can commit the changes to your local branch and then use the
git push
command to automatically update your pull request. - At this point, your contribution has been submitted for review. Any comments about your contribution will be posted in the pull request.
- If your contributions are approved, your pull request will be merged into the main project.