Skip to content

Latest commit

 

History

History
45 lines (35 loc) · 1.22 KB

contribution.md

File metadata and controls

45 lines (35 loc) · 1.22 KB

Contribution

Any kind of contribution is encouraged, e.g., bug report, question answer, and submit pull-request.

Before moving your hands, we highly recommend reading the doc and see the test example code. They will often save lots of time to find proper usage methods.

Bug and Questions

Please use Github Issues.

Contribution

  • Fork the project as your own, e.g., github_user/hyperledger-py, then clone locally and setup necessary user info.
$ git clone git@github.com:github_user/hyperledger-py.git
$ cd hyperledger-py
$ git config user.name "your name"
$ git config user.email "your email"
  • Make some change. Run tox check to make sure all test cases are passed, then commit and push to your forked project.
$ #do some change on the content
$ tox
$ git commit -am "Fix issue #1: change helo to hello"
$ git push
  • At the github webpage, open a pull request.

  • Remember to frequently sync your forked copy with the official repo if you want the latest version.

$ git remote add upstream https://github.com/yeasy/hyperledger-py
$ git fetch upstream
$ git checkout master
$ git rebase upstream/master
$ git push -f origin master