diff options
author | Juan J. Martinez <jjm@usebox.net> | 2023-06-28 16:17:31 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2023-06-28 16:17:31 +0100 |
commit | 8003801e0bee1aa8e45fc0fb3f0743228959c23f (patch) | |
tree | 1f8d7cd7214014c8af65ee6f9820d308156e0bc8 /CONTRIBUTING.md | |
parent | e8a6965e8a7f1f45d524048972de0b6f3f880a03 (diff) | |
download | spacebeans-8003801e0bee1aa8e45fc0fb3f0743228959c23f.tar.gz spacebeans-8003801e0bee1aa8e45fc0fb3f0743228959c23f.zip |
Explain how to contribute
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r-- | CONTRIBUTING.md | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..b96d325 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,36 @@ +# Contributing + +This document explains how to contribute to this project using email. + +## Sending patches + +Please submit patches to `<patches@usebox.net>`. The preferred way to do that is [git send-email](https://git-scm.com/docs/git-send-email) (see [this step-by-step guide](https://git-send-email.io/) for more information). + +Alternatively, you can push your changes to a public repository, for example hosted on your own Git server, on Sourcehut, Gitlab or GitHub, and use [git request-pull](https://git-scm.com/docs/git-request-pull) to send a pull request. + +If these options don't work for you, just use your mail client to send a mail with a link to your changes and a short description. + +### Example: git send-email + +This example shows how to prepare a patch. First you have to check out the Git repository and configure the destination email address and the subject prefix: + +``` +$ git clone https://git.usebox.net/spacebeans && cd spacebeans +$ git config sendemail.to "patches@usebox.net" +$ git config format.subjectPrefix "PATCH SpaceBeans" +``` + +Then you can make and commit your changes. + +Finally use `git send-email` to generate a patch for the last commit and send it: + +``` +$ git send-email HEAD^ +``` + +This example assumes that you have already configured [git send-email](https://git-scm.com/docs/git-send-email) for sending mails. + +## Contact + +Feel free to [contact me](https://www.usebox.net/jjm/about/me/) for questions or to discuss big changes in advance. + |