How to submit a pull request to the Smoothieware Github project
Fork the original repositiory
Create a Fork in your github of https://github.com/Smoothieware/Smoothieware.git by clicking the Fork button
![github-1.png](https://raw.githubusercontent.com/Bouni/smoothieboard-doku/master/github-1.png)
You will now have a forked repository in your list of repositories
![github-2.png](https://raw.githubusercontent.com/Bouni/smoothieboard-doku/master/github-2.png)
Clone the forked repository
You can get the URL for cloning that repository by clicking the copy URL button
![github-3.png](https://raw.githubusercontent.com/Bouni/smoothieboard-doku/master/github-3.png)
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
![github-4.png](https://raw.githubusercontent.com/Bouni/smoothieboard-doku/master/github-4.png)
Select edge as the destination branch, add comments
![github-5.png](https://raw.githubusercontent.com/Bouni/smoothieboard-doku/master/github-5.png)
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
Submit the pull request
Want to learn Git ?
Try this game.