【Github学习】如何贡献于Open Source

学习The Net Ninja的教学视频Git & GitHub Tutorial for Beginners #12 - Forking (& Contributing),贡献于open source的过程如下示意图如下:
 
 
open source和team collaboration的不同之处在于:Open source的repository,其他人是没有写权限的,需要先fork到自己的github上。
 
详细过程为:
1)在线fork到我的repo。
2)clone至本地folder。
3)修改本地folder并上传至我的repo。
4)发给original creator一个pull request(即merge request),点击New pull request,再点击Create pull request。
 
 
 
5)可以看到在original creator的网页上Open a pull request。
 
 
6)原creator review changes,可以写comment,再次交互。满意的话,可以点击Merge pull request/Confirm merge。
 
 
通常open source有contributing.md或contribution.md文档,是guidelines,其他人需要遵守。
 
相关:
posted @ 2020-06-10 07:36  Dersu  阅读(228)  评论(0编辑  收藏  举报