Add note to contributing docs about force push

This commit adds a note to the contributing docs regarding force pushing
during the review process.

Relates #18380
This commit is contained in:
Jason Tedor 2016-05-16 17:34:32 -04:00
parent e69305ae21
commit 0037a579a4

View File

@ -71,6 +71,16 @@ Once your changes and tests are ready to submit for review:
Then sit back and wait. There will probably be discussion about the pull request and, if any changes are needed, we would love to work with you to get your pull request merged into Elasticsearch.
Please adhere to the general guideline that you should never force push
to a publicly shared branch. Once you have opened your pull request, you
should consider your branch publicly shared. Instead of force pushing
you can just add incremental commits; this is generally easier on your
reviewers. If you need to pick up changes from master, you can merge
master into your branch. A reviewer might ask you to rebase a
long-running pull request in which case force pushing is okay for that
request. Note that squashing at the end of the review process should
also not be done, we can do that if necessary.
Contributing to the Elasticsearch codebase
------------------------------------------