2017-11-10 11:16:47 +00:00
|
|
|
Contributing
|
|
|
|
================================================================================
|
|
|
|
|
2017-12-29 06:54:34 +00:00
|
|
|
If you want to contribute to [libuhttpd](https://github.com/zhaojh329/libuhttpd), please follow these simple rules:
|
2017-11-10 11:16:47 +00:00
|
|
|
|
|
|
|
1. Press the fork button:
|
|
|
|
|
|
|
|
![fork](http://oi58.tinypic.com/jj2trm.jpg)
|
|
|
|
|
|
|
|
2. Clone the repository from your account with:
|
|
|
|
|
|
|
|
```
|
2017-12-29 03:44:03 +00:00
|
|
|
git clone https://github.com/your_github_username/libuhttpd.git
|
2017-11-10 11:16:47 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
3. Create a new branch with:
|
|
|
|
|
|
|
|
```
|
2017-12-29 03:44:03 +00:00
|
|
|
git checkout -b "libuhttpd-1-fix"
|
2017-11-10 11:16:47 +00:00
|
|
|
```
|
|
|
|
You can name it however you want.
|
|
|
|
|
|
|
|
4. Make your changes
|
|
|
|
|
2017-12-11 09:19:33 +00:00
|
|
|
5. Commit and push your changes, then make a pull request from Github.
|
2017-11-10 11:16:47 +00:00
|
|
|
|
2017-12-11 09:19:33 +00:00
|
|
|
git commit --signoff
|
2018-01-18 02:20:03 +00:00
|
|
|
git push origin libuhttpd-1-fix
|
2017-12-11 09:19:33 +00:00
|
|
|
|
|
|
|
6. Awaiting review, if accepted, merged!
|
2017-11-10 11:16:47 +00:00
|
|
|
|
|
|
|
**IMPORTANT**
|
|
|
|
|
|
|
|
Please, don't forget to update your fork. While you made your changes,
|
|
|
|
the content of the `master` branch can change because other pull requests
|
|
|
|
were merged and it can create conflicts. This is why you have to rebase
|
|
|
|
on `master` every time before pushing your changes and check that your
|
|
|
|
branch doesn't have any conflicts with `master`.
|
|
|
|
|
2017-12-11 09:19:33 +00:00
|
|
|
Thank you.
|