如何贡献你的代码?(how to contribe to open source projects)
访问量: 4722
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.
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:
4.2 submit this form:
5. wait your commits to be merged.
origin page : https://github.com/fdv/publify/pull/351