5 Star 6 Fork 3

翌之南 / cody

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Contributing.md 1.86 KB
一键复制 编辑 原始数据 按行查看 历史
changjinan 提交于 2016-05-25 10:23 . 项目提交

Contributing

We are happy to accept your pull requests. If you do, make sure you clearly explain what and why you changed/added something so we can easily review it.

  • Sadly enough we have no tests yet, but they will be coming soon.
  • Make sure your code is linted and follow the general code style:
    • "" for strings
    • 2 whitespace indentation
    • named functions as much as possible
    • semi-colons!
    • name your captured this "self"

Guide to making a pull request can be found here:

A shortened version goes as follows:

I assume you have git command-line installed, if not install from here.

  1. Fork this repository by clicking the "Fork" in the upper corner of this page, or by visiting this link: https://github.com/jcoppieters/cody/fork

  2. Clone your forked repository (probably called linksgo2011/cody) on your local computer (guide to cloning)

$ git clone https://github.com/jcoppieters/cody.git
  1. Make a new branch with a name that conveys your change (e.g. "added-unicorns")
$ git checkout -b feature_branch_name
  1. Make the changes you want to make on the files of the local repository.

  2. Commit the changes. In your local repository do:

$ git add . -A
$ git commit -a -m "explain the changes you made. (e.g. I added unicorns)"
  1. Push the changes to your forked repository on github. In your local repository do:
$ git push -u origin feature_branch_name
  1. Submit a Pull Request by going to your repository on github and clicking the green arrows at the left top, or by visiting this link: https://github.com/jcoppieters/cody/compare/. Choose your new branch to pull to the jcoppieters/master branch.

I hope this helps to get you started, if you got any question/problem along the way just shoot!

All the best.

JavaScript
1
https://gitee.com/dugulao3/cody.git
git@gitee.com:dugulao3/cody.git
dugulao3
cody
cody
master

搜索帮助