42 lines
1.1 KiB
Markdown
42 lines
1.1 KiB
Markdown
|
Contributing
|
||
|
================================================================================
|
||
|
|
||
|
If you want to contribute to [libuhttp](https://github.com/zhaojh329/libuhttp), please follow these simple rules:
|
||
|
|
||
|
1. Press the fork button:
|
||
|
|
||
|
![fork](http://oi58.tinypic.com/jj2trm.jpg)
|
||
|
|
||
|
2. Clone the repository from your account with:
|
||
|
|
||
|
```
|
||
|
git clone git@github.com:your_github_username/libuhttp.git
|
||
|
```
|
||
|
|
||
|
3. Create a new branch with:
|
||
|
|
||
|
```
|
||
|
git checkout -b "libuhttp-1-fix"
|
||
|
```
|
||
|
You can name it however you want.
|
||
|
|
||
|
4. Make your changes
|
||
|
|
||
|
5. Don't forget to add yourself in `CONTRIBUTORS.md`.
|
||
|
|
||
|
6. Commit and push your changes, then make a pull request from Github.
|
||
|
|
||
|
git commit --signoff
|
||
|
git push
|
||
|
|
||
|
7. Awaiting review, if accepted, merged!
|
||
|
|
||
|
**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`.
|
||
|
|
||
|
Thank you.
|