1# How to contribute
2
3Elastic is an open-source project and we are looking forward to each
4contribution.
5
6## Your Pull Request
7
8To make it easy to review and understand your changes, please keep the
9following things in mind before submitting your pull request:
10
11* Work on the latest possible state of `olivere/elastic`.
12* Create a branch dedicated to your change.
13* If possible, write a test case which confirms your change.
14* Make sure your changes and your tests work with all recent versions of
15  Elasticsearch. At the moment, we're targeting the current and the previous
16  release, e.g. the 1.4 and the 1.3 branch.
17* Test your changes before creating a pull request (`go test ./...`).
18* Don't mix several features or bug fixes in one pull request.
19* Create a meaningful commit message.
20* Explain your change, e.g. provide a link to the issue you are fixing and
21  probably a link to the Elasticsearch documentation and/or source code.
22* Format your source with `go fmt`.
23
24## Additional Resources
25
26* [GitHub documentation](http://help.github.com/)
27* [GitHub pull request documentation](http://help.github.com/send-pull-requests/)
28