Skip to content

Commit

Permalink
Update CONTRIBUTING.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nobodyiam authored Oct 14, 2018
1 parent c22ac56 commit 982a8e4
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,16 @@ We provide template files [intellij-java-google-style.xml](https://github.com/ct

* If no-one else is using your branch, please rebase it against the current master (or other target branch in the main project).

* Normally, we would squash commits for one feature into one commit. There are 2 ways to do this:

1. To rebase and squash based on the remote branch

* `git rebase -i <remote>/master`
* merge commits via `fixup`, etc

2. Create a new branch and merge these commits into one

* `git checkout -b <some-branch-name> <remote>/master`
* `git merge --squash master`

* When writing a commit message please follow these conventions: if you are fixing an existing issue, please add Fixes #XXX at the end of the commit message (where XXX is the issue number).

0 comments on commit 982a8e4

Please sign in to comment.