Hi there! We’re thrilled that you’d like to contribute to this project. Your help is essential for keeping this project great and for making it better.
In general, contributors should develop on branches based off of main
and
pull requests should be made against main
.
- Please read our code of conduct and license.
- Fork and clone the repository.
- Create a new branch based on
main
:git checkout -b <my-branch-name> main
. - Make your changes, add tests, and make sure the tests still pass.
- Ensure your commits follow the commit style guide
- Commit your changes using the DCO. You can attest to the DCO by commiting with the -s or --signoff options or manually adding the "Signed-off-by".
- Push to your fork and submit a pull request from your branch to
main
. - Pat yourself on the back and wait for your pull request to be reviewed.
Here are a few things you can do that will increase the likelihood of your pull request to be accepted:
- Follow the homebrew-core/CONTRIBUTING.md
- Write tests.
- Keep your change as focused as possible. If you want to make multiple independent changes, please consider submitting them as separate pull requests.
- Write a good commit message.