- Fork it ( https://github.com/[my-github-username]/unconfirm/fork )
- Create your feature/bug/refactor branch.
- If its a bug-fix, create bug branch: bug/ or bug/
- If its a new feature, create a feature branch: feature/
- If its code refactoring with no changes to behavior: refactor/
(
git checkout -b <feature/bug/refacator>/my-branch
- we'll usefeature/my-feature
as an example in the rest of this section.)
- Ensure that there are tests to assert that your changes are working as expected.
- Commit your changes (
git commit -a
). - Push to the branch (
git push -u origin feature/my-feature
). - Create a new Pull Request.
git-extras helps with the above workflow.