-
Update local master branch:
$ git checkout master $ git pull upstream master -
Create feature branch:
$ git checkout -b feature-x -
Make one or more atomic commits, and ensure that each commit has a descriptive commit message. Commit messages should be line wrapped at 72 characters.
-
Run
npm test, and address any errors. Preferably, fix commits in place usinggit rebaseorgit commit --amendto make the changes easier to review. -
Push:
$ git push origin feature-x -
Open a pull request.