-
Fork, then clone the repo:
git clone git@github.com:your_username/ModbusMaster.git -
Create a topic branch from where you want to base your work
- This is usually the master branch
- Only target release branches if you are certain your fix must be on that branch
- To quickly create a topic branch based on master;
git checkout -b fix/master/my_contribution master. Please avoid working directly on themasterbranch.
-
Follow the style guide
-
Test your change
-
Make commits of logical units
- Check for unnecessary whitespace with
git diff --checkbefore committing - Each commit should represent one atomic change and should stand on its own
- Write a good commit message
- Check for unnecessary whitespace with
-
Push to your fork and submit a pull request