Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.35 KB

CONTRIBUTING.md

File metadata and controls

39 lines (27 loc) · 1.35 KB

贡献

在你贡献任何代码之前,请阅读此部分。

  • 提交 PR|MR 之前 rebase 最新的主分支并解决可能的冲突
  • 保持你的 RP|MR 中的 commits 清晰整洁
  • 在标题和正文中清楚的描述你的 PR|MR 的目的和改动

步骤:

  1. fork 这个库
  2. clone 你 fork 出来的库
  3. 创建一个 feature 分支 (git checkout -b my-new-feature)
  4. commit 你的修改 (git commit -am 'Add some feature')
  5. push 这个 feature 分支到远端 (git push origin my-new-feature)
  6. 从这个分支发起一个 Pull Request | Merge Request

关于 rebase:请自行参阅 git 官方文档,rebase 的目的是为了保持提交记录的整洁。


Contributing

Read this part before you contribute any code.

  • Rebase the newest master branch to your PR branch before make your pull request
  • Keep the commits in your PR|MR clean and simple
  • Descripe your PR|MR's purpose and detail in title and content

Steps:

  1. Fork it
  2. Clone your fork repo
  3. Create your feature branch (git checkout -b my-new-feature)
  4. Commit your changes (git commit -am 'Add some feature')
  5. Push to the branch (git push origin my-new-feature)
  6. Create new Pull Request | Merge Request

About rebase: Do some search to figure out what the git rebase is if you don't know it. The rebase command is helped to keep commits tree clean.