Update introduction for contribution
This commit is contained in:
parent
8089fd64b2
commit
ab62b9bd6e
1 changed files with 24 additions and 4 deletions
28
README.md
28
README.md
|
|
@ -58,12 +58,32 @@ go run webcam.go
|
||||||
|
|
||||||
You can find more samples at: https://github.com/lazywei/go-opencv/tree/master/samples
|
You can find more samples at: https://github.com/lazywei/go-opencv/tree/master/samples
|
||||||
|
|
||||||
## Contribute
|
## How to contribute
|
||||||
|
|
||||||
- Fork this repo
|
- Fork this repo
|
||||||
- Create new feature branch, `git checkout -b your-feature-branch`
|
- Clone the main repo, and add your fork as a remote
|
||||||
- Commit your change and push it to your repo `git commit -m 'new feature'; git push origin your-feature-branch`
|
|
||||||
- Open pull request!
|
```
|
||||||
|
git clone https://github.com/lazywei/go-opencv.git
|
||||||
|
cd go-opencv
|
||||||
|
git remote rename origin upstream
|
||||||
|
git remote add origin https://github.com/your_github_account/go-opencv.git
|
||||||
|
```
|
||||||
|
|
||||||
|
- Create new feature branch
|
||||||
|
|
||||||
|
```
|
||||||
|
git checkout -b your-feature-branch
|
||||||
|
```
|
||||||
|
|
||||||
|
- Commit your change and push it to your repo
|
||||||
|
|
||||||
|
```
|
||||||
|
git commit -m 'new feature'
|
||||||
|
git push origin your-feature-branch
|
||||||
|
```
|
||||||
|
|
||||||
|
- Open a pull request!
|
||||||
|
|
||||||
## TODOs
|
## TODOs
|
||||||
- More details doc
|
- More details doc
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue