github

You can send fixes to the firmware or the wiki on GitHub. See editing the wiki if you want to fix one of these pages.

Learn more: How to contribute

How to submit a pull request to the Smoothieware Github project

We use edge as our stable branch (master is no longer maintained). We do not have an unstable branch, so this is why we only allow very well tested PRs into edge. V2 development uses the master branch as the stable branch. We do not have an unstable branch, so this is why we only allow very well tested PRs into master.

Fork the original repository

Create a Fork in your GitHub of Smoothieware V1 repository by clicking the Fork button.

Create a Fork in your GitHub of Smoothieware V2 repository by clicking the Fork button.

Fork button

You will now have a forked repository in your list of repositories.

Forked repository

Clone the forked repository

You can get the URL for cloning that repository by clicking the copy URL button.

Copy URL button

On your local workstation clone the repository: git clone <your GitHub fork of Smoothie>

Create a new branch for your bugfix / feature

Create a fix branch with a descriptive name: git checkout -b fix/some-error

NOTE only one feature/bug fix per branch please

Edit the file to fix the error.

Please
  • Check the fix!!!
  • Make sure your changes are coincide with our coding standards! (use 4 spaces per indent and not tabs, etc.)

Commit your changes and push it back on GitHub

Commit the changes: git commit -am 'introduced lots of bugs'

Push the branch to your GitHub: git push origin fix/some-error

Submit your pull request

In GitHub, there should be a button that says pull request for that branch, click it.

Pull request button

Select edge as the destination branch, add comments.

Select master as the destination branch, add comments.

Selecting branch

Please
  • Check the Files Changed Tab in GitHub to make sure only the files you want to change are listed.
  • Check that only the lines you want changed are changed.

Finally, submit the pull request.

Want to learn Git?

Try this game.

This is a wiki! If you'd like to improve this page, you can edit it on GitHub.