Back

如何贡献你的代码?(how to contribe to open source projects)

发布时间: 2014-01-23 22:25:00

contribe your code, 挥一挥衣袖,  深藏功与名。。。

1. fork the project on github.

2. edit

3. commit & push

4. send a pull request. 

e.g. 我想为 publify 这个项目增加汉化文件。就:

1. fork the project.

Screenshot From 2014 01 24 06:59:28

Newly Forked Project

2. clone it:

siwei@siwei-Lenovo-V470c:/workspace$ git clone https://github.com/sg552/publify.git
Cloning into 'publify'...
remote: Reusing existing pack: 54092, done.
remote: Counting objects: 2, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 54094 (delta 1), reused 0 (delta 0)
Receiving objects: 100% (54094/54094), 22.76 MiB | 1.01 MiB/s, done.
Resolving deltas: 100% (35321/35321), done.

3. edit, commit, push... 

4. send pull request ( from the origin git repo)

4.1 find the button here: 

Create Pull Request Step1

4.2 submit this form: 

Create Pull Request Step2 Fill Form

5. wait your commits to be merged.    

origin page : https://github.com/fdv/publify/pull/351

Screenshot From 2014 01 29 06:07:32

Back