Skip to content

Development

Jonathan Sun edited this page Feb 16, 2016 · 1 revision

Making Changes

Make a new branch. Name your branch the name of your new intended feature, prefixed with your initials and a slash.

$ git checkout -b js/my-new-feature

Make your changes. commit frequently. git add's -p option is encouraged (interactive add). Commit messages should be in the imperative present tense.

$ git add -p
...
$ git add ./stuff/morestuff/my-untracked-file
...
$ git commit -m "Implement my new WORKING sub-feature-1"
...
$ git commit -m "Implement my new WORKING sub-feature-2"

When finished, push to a NEW branch on github.

$ git push -u origin js/my-new-feature

Make a pull request, tag someone in a comment or poke someone on slack for review. Merge and delete branch when done.

Clone this wiki locally