-
Update local main branch:
$ git checkout main $ git pull upstream main
-
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 rebase
orgit commit --amend
to make the changes easier to review. -
Push:
$ git push origin feature-x
-
Open a pull request.