spacemacs/doc/CONTRIBUTE.md

2 KiB

Contribute to Spacemacs

Table of Contents

Pull Request Guidelines

Spacemacs branch model is inspired from the git-flow model: You'll have to submit your contributions and fixes within a pull-request to apply against the develop branch.

PR = pull request

Guidelines:

  1. Ideally and for simple PRs:
  • branch from develop only
  • one topic per PR
  • one commit per PR
    • if you have several commits on different topics, close the PR and create one PR per topic
    • if you still have several commits, squash them into only one commit
  • rebase your PR branch on top of upstream develop before submitting the PR

Those PRs are fast-forwarded whenever it's possible and cherry-picked otherwise.

  1. For complex pull requests:
  • squash only the commits with uninteresting changes like typos, syntax fixes, etc... and keep the important steps in different commits.

Those PRs are merged.

Getting Help: If you have any question on this process, join the gitter chatroom and ask your questions there. It will be a pleasure to help you to contribute!

Submitting a contribution layer upstream

It is recommended to join a README.md file with your layer, ideally this file should document the packages of your layer as well as the key bindings associated with them.

To submit your contribution layer follow the above guidelines for pull requests.

Note: by submitting a configuration layer you become the maintainer of it, if you cannot maintain it anymore, no worry but I'll appreciate that you send a message to me to warn me.