2017-11-10 11:16:47 +00:00
|
|
|
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:
|
|
|
|
|
|
|
|
```
|
2017-11-29 23:48:24 +00:00
|
|
|
git clone https://github.com/your_github_username/libuhttp.git
|
2017-11-10 11:16:47 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
3. Create a new branch with:
|
|
|
|
|
|
|
|
```
|
|
|
|
git checkout -b "libuhttp-1-fix"
|
|
|
|
```
|
|
|
|
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
|
2017-11-10 11:16:47 +00:00
|
|
|
git push
|
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.
|