GitHub:修订间差异

维基百科,自由的百科全书
删除的内容 添加的内容
InternetArchiveBot留言 | 贡献
补救4个来源,并将0个来源标记为失效。) #IABot (v2.0.8.7
补救1个来源,并将1个来源标记为失效。) #IABot (v2.0.8.8
第57行: 第57行:
GitHub同时允许注册用户和非注册用户在网页中浏览项目,也可以以[[ZIP格式]]打包下载。但是用户必须注册登录一个账号才能讨论、创建并编辑项目、参与他人的项目和[[代码审查]]。
GitHub同时允许注册用户和非注册用户在网页中浏览项目,也可以以[[ZIP格式]]打包下载。但是用户必须注册登录一个账号才能讨论、创建并编辑项目、参与他人的项目和[[代码审查]]。


GitHub支持建立不限数量的公开仓库,已付费用户可以建立私有仓库。2019年1月7日,GitHub宣布免费用户也可以建立私有仓库,私有仓库数量不限但每个仓库最多指定三个合作者<ref>{{cite web | url = https://blog.github.com/changelog/2019-01-08-pricing-changes/ | title = Unlimited free private repositories with GitHub Free and a unified business offering with GitHub Enterprise | publisher = GitHub | date = 2019-01-07 | accessdate = 2019-01-08 | archive-url = https://web.archive.org/web/20190108042325/https://blog.github.com/changelog/2019-01-08-pricing-changes/ | archive-date = 2019-01-08 | dead-url = no }}</ref>。2020年4月14日,GitHub宣布进一步开放核心功能,取消私有仓库合作者数量限制,并降低了收费账号费用<ref><nowiki>{{cite web | url = </nowiki>https://help.github.com/en/github/getting-started-with-github/faq-about-changes-to-githubs-plans| title = FAQ about changes to GitHub’s plans | publisher = GitHub | date = 2020-04-14 | accessdate = 2020-04-15 | archive-url = https://web.archive.org/web/20200414205238/ | archive-date = 2020-04-15 | dead-url = no }]</ref>。
GitHub支持建立不限数量的公开仓库,已付费用户可以建立私有仓库。2019年1月7日,GitHub宣布免费用户也可以建立私有仓库,私有仓库数量不限但每个仓库最多指定三个合作者<ref>{{cite web | url = https://blog.github.com/changelog/2019-01-08-pricing-changes/ | title = Unlimited free private repositories with GitHub Free and a unified business offering with GitHub Enterprise | publisher = GitHub | date = 2019-01-07 | accessdate = 2019-01-08 | archive-url = https://web.archive.org/web/20190108042325/https://blog.github.com/changelog/2019-01-08-pricing-changes/ | archive-date = 2019-01-08 | dead-url = no }}</ref>。2020年4月14日,GitHub宣布进一步开放核心功能,取消私有仓库合作者数量限制,并降低了收费账号费用<ref><nowiki>{{cite web | url = </nowiki>https://help.github.com/en/github/getting-started-with-github/faq-about-changes-to-githubs-plans|{{Dead link}} title = FAQ about changes to GitHub’s plans | publisher = GitHub | date = 2020-04-14 | accessdate = 2020-04-15 | archive-url = https://web.archive.org/web/20200414205238/ | archive-date = 2020-04-15 | dead-url = no }]</ref>。


==== 开发语言 ====
==== 开发语言 ====
第164行: 第164行:
* 2014年12月31日,GitHub等32个网站因用户发布的[[伊斯兰国]]相关内容而被印度封锁。<ref>{{cite web |url=http://thenextweb.com/in/2014/12/31/vimeo-github-30-sites-blocked-india-content-isis/ |title=GitHub, Vimeo and 30 more sites blocked in India over content from ISIS |publisher=[[The Next Web]] |website=thenextweb.com |date=2014-12-31 |access-date=2016-07-02 |archive-url=https://web.archive.org/web/20160725224224/http://thenextweb.com/in/2014/12/31/vimeo-github-30-sites-blocked-india-content-isis/ |archive-date=2016-07-25 |dead-url=no }}</ref>2015年1月10日,GitHub被解封,但2015年9月12日GitHub在整个印度又被封锁。
* 2014年12月31日,GitHub等32个网站因用户发布的[[伊斯兰国]]相关内容而被印度封锁。<ref>{{cite web |url=http://thenextweb.com/in/2014/12/31/vimeo-github-30-sites-blocked-india-content-isis/ |title=GitHub, Vimeo and 30 more sites blocked in India over content from ISIS |publisher=[[The Next Web]] |website=thenextweb.com |date=2014-12-31 |access-date=2016-07-02 |archive-url=https://web.archive.org/web/20160725224224/http://thenextweb.com/in/2014/12/31/vimeo-github-30-sites-blocked-india-content-isis/ |archive-date=2016-07-25 |dead-url=no }}</ref>2015年1月10日,GitHub被解封,但2015年9月12日GitHub在整个印度又被封锁。
* 2015年3月26日,GitHub遭受了GitHub历史上最严重的[[阻斷服務攻擊]]。<ref name="GH blog">{{Cite web |url=https://github.com/blog/1981-large-scale-ddos-attack-on-github-com |title=Large Scale DDoS Attack on github.com |accessdate=2015-03-31 |date=March 27, 2015 |publisher=GitHub's blog |language=en |archive-url=https://web.archive.org/web/20150328034203/https://github.com/blog/1981-large-scale-ddos-attack-on-github-com |archive-date=2015-03-28 |dead-url=no }}</ref>GitHub堅信攻擊者的目的在於迫使GitHub刪除特定類型的內容。<ref name="GH blog" />截止29日,攻击者共使用了四種DDoS攻擊技術。<ref>{{Cite web |url=http://www.solidot.org/story?sid=43506 |title=对GitHub的大规模DDoS攻击已超过80个小时 |accessdate=2015-03-30 |date=2015-03-30 |publisher=奇客Solidot |language=zh-cn |archive-url=https://web.archive.org/web/20150331103957/http://www.solidot.org/story?sid=43506 |archive-date=2015-03-31 |dead-url=no }}</ref>攻击于31日停止。外界有人傳聞這是中國政府所為,但中国政府予以否认。<ref name="iThome.com.tw">{{Cite web |url=http://www.ithome.com.tw/news/94872 |title=GitHub遭遇史上最大規模DDoS攻擊,反中國網路防火牆專案被鎖定 |accessdate=2015-03-30 |author=陳曉莉 |date=2015-03-30 |publisher=台灣iThome |language=zh-tw |archive-url=https://web.archive.org/web/20150331102019/http://www.ithome.com.tw/news/94872 |archive-date=2015-03-31 |dead-url=no }}</ref><ref>{{Cite web |url=http://www.epochtimes.com/gb/15/3/28/n4398519.htm |title=中共借刀杀人 利用海外华人发起DDoS攻击 |accessdate=2015-03-30 |author=海寧 |date=2015-03-27 |publisher=大紀元新聞網 |language=zh-hans |archive-url=https://web.archive.org/web/20150330150557/http://www.epochtimes.com/gb/15/3/28/n4398519.htm |archive-date=2015-03-30 |dead-url=no }}</ref>该攻击工具也被称为“[[大炮 (中國網路審查)|大炮]]”。
* 2015年3月26日,GitHub遭受了GitHub历史上最严重的[[阻斷服務攻擊]]。<ref name="GH blog">{{Cite web |url=https://github.com/blog/1981-large-scale-ddos-attack-on-github-com |title=Large Scale DDoS Attack on github.com |accessdate=2015-03-31 |date=March 27, 2015 |publisher=GitHub's blog |language=en |archive-url=https://web.archive.org/web/20150328034203/https://github.com/blog/1981-large-scale-ddos-attack-on-github-com |archive-date=2015-03-28 |dead-url=no }}</ref>GitHub堅信攻擊者的目的在於迫使GitHub刪除特定類型的內容。<ref name="GH blog" />截止29日,攻击者共使用了四種DDoS攻擊技術。<ref>{{Cite web |url=http://www.solidot.org/story?sid=43506 |title=对GitHub的大规模DDoS攻击已超过80个小时 |accessdate=2015-03-30 |date=2015-03-30 |publisher=奇客Solidot |language=zh-cn |archive-url=https://web.archive.org/web/20150331103957/http://www.solidot.org/story?sid=43506 |archive-date=2015-03-31 |dead-url=no }}</ref>攻击于31日停止。外界有人傳聞這是中國政府所為,但中国政府予以否认。<ref name="iThome.com.tw">{{Cite web |url=http://www.ithome.com.tw/news/94872 |title=GitHub遭遇史上最大規模DDoS攻擊,反中國網路防火牆專案被鎖定 |accessdate=2015-03-30 |author=陳曉莉 |date=2015-03-30 |publisher=台灣iThome |language=zh-tw |archive-url=https://web.archive.org/web/20150331102019/http://www.ithome.com.tw/news/94872 |archive-date=2015-03-31 |dead-url=no }}</ref><ref>{{Cite web |url=http://www.epochtimes.com/gb/15/3/28/n4398519.htm |title=中共借刀杀人 利用海外华人发起DDoS攻击 |accessdate=2015-03-30 |author=海寧 |date=2015-03-27 |publisher=大紀元新聞網 |language=zh-hans |archive-url=https://web.archive.org/web/20150330150557/http://www.epochtimes.com/gb/15/3/28/n4398519.htm |archive-date=2015-03-30 |dead-url=no }}</ref>该攻击工具也被称为“[[大炮 (中國網路審查)|大炮]]”。
* 2015年8月,中國政府進一步收緊對網際網路的控制。22日[[突破網路審查|翻牆]]軟體[[Shadowsocks]]作者迫於警方壓力刪除項目。25日,翻牆軟體[[GoAgent]]作者自行刪除自己的代碼。同一天GitHub再次遭到來自中國大陸的DDoS攻擊。<ref>{{cite news|url=http://www.washingtontimes.com/news/2015/aug/26/china-tightens-noose-internet-anti-censorship-tool/?page=all|title=China tightens noose on Internet as anti-censorship tools suddenly shutter|author=Andrew Blake|date=2015-08-26|work=The Washington Times}}{{en}}</ref><ref>{{cite news|url=http://www.solidot.org/story?sid=45264|title=GoAgent开发者删除项目,GitHub再次受到DDoS攻击|date=2015-08-25|work=Solidot|access-date=2016-01-07|archive-url=https://web.archive.org/web/20160306005613/http://www.solidot.org/story?sid=45264|archive-date=2016-03-06|dead-url=no}}{{zh-cn}}</ref>部分开发者认为此次攻击与中国政府有关。<ref>{{cite news|url=http://news.softpedia.com/news/recent-github-ddos-linked-to-chinese-government-and-two-github-projects-490405.shtml|title=Recent GitHub DDOS Linked to Chinese Government and Two GitHub Projects|author=Catalin Cimpanu|work=Softpedia|date=2015-08-29|access-date=2016-01-15|archive-url=https://web.archive.org/web/20160506081126/http://news.softpedia.com/news/recent-github-ddos-linked-to-chinese-government-and-two-github-projects-490405.shtml|archive-date=2016-05-06|dead-url=no}}{{en}}</ref>
* 2015年8月,中國政府進一步收緊對網際網路的控制。22日[[突破網路審查|翻牆]]軟體[[Shadowsocks]]作者迫於警方壓力刪除項目。25日,翻牆軟體[[GoAgent]]作者自行刪除自己的代碼。同一天GitHub再次遭到來自中國大陸的DDoS攻擊。<ref>{{cite news|url=http://www.washingtontimes.com/news/2015/aug/26/china-tightens-noose-internet-anti-censorship-tool/?page=all|title=China tightens noose on Internet as anti-censorship tools suddenly shutter|author=Andrew Blake|date=2015-08-26|work=The Washington Times|accessdate=2016-01-07|archive-date=2022-06-06|archive-url=https://web.archive.org/web/20220606085129/https://www.washingtontimes.com/news/2015/aug/26/china-tightens-noose-internet-anti-censorship-tool/}}{{en}}</ref><ref>{{cite news|url=http://www.solidot.org/story?sid=45264|title=GoAgent开发者删除项目,GitHub再次受到DDoS攻击|date=2015-08-25|work=Solidot|access-date=2016-01-07|archive-url=https://web.archive.org/web/20160306005613/http://www.solidot.org/story?sid=45264|archive-date=2016-03-06|dead-url=no}}{{zh-cn}}</ref>部分开发者认为此次攻击与中国政府有关。<ref>{{cite news|url=http://news.softpedia.com/news/recent-github-ddos-linked-to-chinese-government-and-two-github-projects-490405.shtml|title=Recent GitHub DDOS Linked to Chinese Government and Two GitHub Projects|author=Catalin Cimpanu|work=Softpedia|date=2015-08-29|access-date=2016-01-15|archive-url=https://web.archive.org/web/20160506081126/http://news.softpedia.com/news/recent-github-ddos-linked-to-chinese-government-and-two-github-projects-490405.shtml|archive-date=2016-05-06|dead-url=no}}{{en}}</ref>
*2016年2月29日,[[編程隨想的博客]]在[[Github]]上發佈了《[[趙家人]]》專案,整理出据称为中国大陆权贵阶层包括130多个家族、700多人的资料和关系网络。其中在6月8日,中国网络空间安全协会致信GitHub,称该项目下的[https://github.com/programthink/zhao/issues/38 一个issue]{{Wayback|url=https://github.com/programthink/zhao/issues/38 |date=20200306123011 }}诽谤中华人民共和国最高领导人[[习近平]]有谋杀嫌疑,要求立刻删除。这个题为“習近平有重大殺人嫌疑!”的issue列举了16条指控习近平犯下谋杀罪行的理由,在2020年2月已有2000个以上的评论,至今仍然保持开放。该issue的作者用户名为CMB-news,可疑的是其于Github上的[https://github.com/CMB-news 个人主页]{{Wayback|url=https://github.com/CMB-news |date=20200529012300 }}显示该用户仅在2016年做出了数个不含任何代码的编辑,此后便无活动,亦未见其与项目zhao的正式关联。3天后GitHub公开了[https://github.com/github/gov-takedowns/blob/master/China/2016/2016-06-08-programthink-zhao.md 这封信]{{Wayback|url=https://github.com/github/gov-takedowns/blob/master/China/2016/2016-06-08-programthink-zhao.md |date=20200326003407 }}。这是GitHub收到的第一个来自代表中国大陆官方的请求<ref>{{cite news|url=https://theinitium.com/article/20160628-mainland-githubcensor/|author=吳嬙|title=开源“赵家人”名单,GitHub激怒中国网安协会首出拳|date=2016-06-28|publisher=[[端传媒]]|access-date=2020-01-13|archive-url=https://web.archive.org/web/20200327032703/https://theinitium.com/article/20160628-mainland-githubcensor/|archive-date=2020-03-27|dead-url=no}}</ref>。
*2016年2月29日,[[編程隨想的博客]]在[[Github]]上發佈了《[[趙家人]]》專案,整理出据称为中国大陆权贵阶层包括130多个家族、700多人的资料和关系网络。其中在6月8日,中国网络空间安全协会致信GitHub,称该项目下的[https://github.com/programthink/zhao/issues/38 一个issue]{{Wayback|url=https://github.com/programthink/zhao/issues/38 |date=20200306123011 }}诽谤中华人民共和国最高领导人[[习近平]]有谋杀嫌疑,要求立刻删除。这个题为“習近平有重大殺人嫌疑!”的issue列举了16条指控习近平犯下谋杀罪行的理由,在2020年2月已有2000个以上的评论,至今仍然保持开放。该issue的作者用户名为CMB-news,可疑的是其于Github上的[https://github.com/CMB-news 个人主页]{{Wayback|url=https://github.com/CMB-news |date=20200529012300 }}显示该用户仅在2016年做出了数个不含任何代码的编辑,此后便无活动,亦未见其与项目zhao的正式关联。3天后GitHub公开了[https://github.com/github/gov-takedowns/blob/master/China/2016/2016-06-08-programthink-zhao.md 这封信]{{Wayback|url=https://github.com/github/gov-takedowns/blob/master/China/2016/2016-06-08-programthink-zhao.md |date=20200326003407 }}。这是GitHub收到的第一个来自代表中国大陆官方的请求<ref>{{cite news|url=https://theinitium.com/article/20160628-mainland-githubcensor/|author=吳嬙|title=开源“赵家人”名单,GitHub激怒中国网安协会首出拳|date=2016-06-28|publisher=[[端传媒]]|access-date=2020-01-13|archive-url=https://web.archive.org/web/20200327032703/https://theinitium.com/article/20160628-mainland-githubcensor/|archive-date=2020-03-27|dead-url=no}}</ref>。
*2020年3月26日,中国大陆多地用户访问GitHub Pages时发现遭遇[[中间人攻击]],[[公開金鑰認證|证书]]变为一张通过私人[[QQ邮箱]][[自签名证书|自签名的证书]],生成时间为2019年9月26日。部分地区遭受攻击数小时后停止,<ref>{{cite news |title=有攻击者正发动中间人攻击 GitHub和京东受影响最大 - 安全 |url=https://www.cnbeta.com/articles/tech/960295.htm |work=cnBeta.COM |language=zh-CN |access-date=2020-03-26 |archive-url=https://web.archive.org/web/20200326185456/https://www.cnbeta.com/articles/tech/960295.htm |archive-date=2020-03-26 |dead-url=no }}</ref>但也有部分地区持续遭受攻击1-2天且证书变为了另一张使用[[MyMail]][[自签名证书|自签名的证书]]。<ref>{{Cite web|title=(动态更新中) 有黑客正在通过国内骨干网络发动大规模的中间人攻击{{!}}蓝点网|url=https://www.landiannews.com/archives/71707.html|accessdate=2020-03-28|work=www.landiannews.com|archive-url=https://web.archive.org/web/20200327170558/https://www.landiannews.com/archives/71707.html|archive-date=2020-03-27|dead-url=no}}</ref>DNSMon系统的证书信息顯示同一时间[[京东商城|京东]]等網站也遭到了相同攻击<ref>{{cite news|title=一些网站https证书出现问题的情况分析|url=https://blog.netlab.360.com/ongoing-websites-hijacking/|work=360 Netlab Blog|language=zh-CN|date=2020-03-28|access-date=2020-04-06|archive-url=https://web.archive.org/web/20200401005051/https://blog.netlab.360.com/ongoing-websites-hijacking/|archive-date=2020-04-01|dead-url=no}}</ref>,尚无证据证明此次事件与审查有关。<ref>{{cite web |title=GitHub 遭遇中间人攻击,访问报证书错误 |url=https://www.oschina.net/news/114402/git-mitm |website=OSCHINA |date=2020-03-27 |access-date=2020-03-27 |archive-url=https://web.archive.org/web/20200327014606/https://www.oschina.net/news/114402/git-mitm |archive-date=2020-03-27 |dead-url=no }}</ref><!--未见此攻击和网络审查相关。-->
*2020年3月26日,中国大陆多地用户访问GitHub Pages时发现遭遇[[中间人攻击]],[[公開金鑰認證|证书]]变为一张通过私人[[QQ邮箱]][[自签名证书|自签名的证书]],生成时间为2019年9月26日。部分地区遭受攻击数小时后停止,<ref>{{cite news |title=有攻击者正发动中间人攻击 GitHub和京东受影响最大 - 安全 |url=https://www.cnbeta.com/articles/tech/960295.htm |work=cnBeta.COM |language=zh-CN |access-date=2020-03-26 |archive-url=https://web.archive.org/web/20200326185456/https://www.cnbeta.com/articles/tech/960295.htm |archive-date=2020-03-26 |dead-url=no }}</ref>但也有部分地区持续遭受攻击1-2天且证书变为了另一张使用[[MyMail]][[自签名证书|自签名的证书]]。<ref>{{Cite web|title=(动态更新中) 有黑客正在通过国内骨干网络发动大规模的中间人攻击{{!}}蓝点网|url=https://www.landiannews.com/archives/71707.html|accessdate=2020-03-28|work=www.landiannews.com|archive-url=https://web.archive.org/web/20200327170558/https://www.landiannews.com/archives/71707.html|archive-date=2020-03-27|dead-url=no}}</ref>DNSMon系统的证书信息顯示同一时间[[京东商城|京东]]等網站也遭到了相同攻击<ref>{{cite news|title=一些网站https证书出现问题的情况分析|url=https://blog.netlab.360.com/ongoing-websites-hijacking/|work=360 Netlab Blog|language=zh-CN|date=2020-03-28|access-date=2020-04-06|archive-url=https://web.archive.org/web/20200401005051/https://blog.netlab.360.com/ongoing-websites-hijacking/|archive-date=2020-04-01|dead-url=no}}</ref>,尚无证据证明此次事件与审查有关。<ref>{{cite web |title=GitHub 遭遇中间人攻击,访问报证书错误 |url=https://www.oschina.net/news/114402/git-mitm |website=OSCHINA |date=2020-03-27 |access-date=2020-03-27 |archive-url=https://web.archive.org/web/20200327014606/https://www.oschina.net/news/114402/git-mitm |archive-date=2020-03-27 |dead-url=no }}</ref><!--未见此攻击和网络审查相关。-->

2022年6月6日 (一) 08:52的版本

GitHub
公司类型子公司
网站类型
Git版本库托管
语言英文
成立2008年2月,​16年前​(2008-02
總部 美国加利福尼亚州旧金山
業務範圍全球
持有者微軟
创立者
代表人物
  • Erica Brescia (COO)
  • Carrie Olesen (CHRO)
  • Mike Taylor (CFO)
产业软件
员工1,079[1]
母公司微软
网址https://github.com
商业性质
注册可选(建立和参与项目时需要)
用户4000万(2019年8月)
现状在线
編程語言Ruby

GitHub是通过Git进行版本控制的软件源代码托管服务平台,由GitHub公司(曾称Logical Awesome)的开发者Chris Wanstrath英语Chris WanstrathP. J. Hyett英语P. J. Hyett汤姆·普雷斯顿·沃纳使用Ruby on Rails编写而成。

GitHub同时提供付费账户和免费账户。这两种账户都可以建立公开或私有的代码仓库,但付费用户拥有更多功能。根据在2009年的Git用户调查,GitHub是最流行的Git存取站点。[2]除了允许个人和组织建立和存取保管中的代码以外,它也提供了一些方便社会化共同软件开发的功能,即一般人口中的社群功能,包括允许用户追蹤其他用户、组织、软件库的动态,对软件代码的改动和bug提出评论等。GitHub也提供了图表功能,用于概觀显示开发者们怎样在代码库上工作以及软件的开发活跃程度。

截止到2020年1月,GitHub已经有超过4000万注册用户[3]和1.9亿代码库(包括至少2800万开源代码库),[4]事实上已经成为了世界上最大的代码存放网站和开源社区。[5]

2018年6月4日晚,美国科技公司微軟宣布以75亿美元的股票收购GitHub[6][7][8]

提供的服务

GitHub

GitHub平台于2007年10月1日开始开发。[9][10]网站于2008年2月以beta版本开始上线,4月份正式上线。[11] GitHub里面的项目可以透過标准的Git命令进行访问和操作。同时,所有的Git命令都可以用到GitHub项目上面。GitHub开发了针对Microsoft WindowsmacOS操作系统的桌面客户端。此外,也可以使用第三方插件来实现Git功能。

网站提供了一系列社交网络具有的功能,例如讚(star)、关注(follow)、评论。用户可以透過複刻(fork)他人项目的形式参与开发,并可透過协作示意图英语Collaboration graph来查看有多少开发者参与了开发并追踪最新的複刻版本。此外网站还有Wiki(透過一个名为 gollum 的软件实现)等功能。

GitHub同时允许注册用户和非注册用户在网页中浏览项目,也可以以ZIP格式打包下载。但是用户必须注册登录一个账号才能讨论、创建并编辑项目、参与他人的项目和代码审查

GitHub支持建立不限数量的公开仓库,已付费用户可以建立私有仓库。2019年1月7日,GitHub宣布免费用户也可以建立私有仓库,私有仓库数量不限但每个仓库最多指定三个合作者[12]。2020年4月14日,GitHub宣布进一步开放核心功能,取消私有仓库合作者数量限制,并降低了收费账号费用[13]

开发语言

GitHub系统由GitHub公司的开发者Chris Wanstrath开发。系统采用了Ruby on RailsErlang作为后端。[14]

主要功能

GitHub通常用于软件开发。GitHub还支持以下格式和功能:

  • 文档:包括自动生成的、采用类Markdown语言的Readme文件(称作GitHub Flavored Markdown, GFM)。
  • 问题追踪系统(同时可用于功能需求)
  • Wiki
  • GitHub Pages支持用户透過软件仓库建立静态网站或静态博客(透過一个名为Jekyll的軟體实现,但是也支持采用诸如 Hexo 等其他博客引擎搭建)。
  • 任务列表
  • 甘特图
  • 可视化的地理位置分析
  • 预览3D渲染文件。[15]预览功能通过WebGLThree.js实现。
  • 预览Adobe Photoshop的PSD文件,甚至可以比较同一文件的不同版本。

仓库的许可证

GitHub的许可条款并不要求公有仓库满足自由软件标准。在建立软件仓库时,GitHub会询问用户准备采取的软件许可证,此外用户也可以使用自己的许可证。

GitHub Enterprise

GitHub Enterprise和GitHub的服务类似,不过它为大型企业的开发团队量身定制,并可提供自托管版本服务器软件。[16]

GitHub Pages

GitHub Pages是GitHub提供的一个网页寄存服务,可以用于存放静态网页,包括博客、项目文档甚至整本书。[17]一般GitHub Pages的网站使用github.io的子域名,但是用户也可以使用第三方域名。Github Pages以开源仓库公开静态网页源代码,可在仓库->设置->Code and automation里设置, https://github.com/页面存档备份,存于互联网档案馆)<用户名>/<仓库名>/settings/pages。

Gist

GitHub提供一个粘贴箱英语Pastebin风格的站点GitHub Gist。

Tom Preston-Werner于2008年开发了Gist功能。[18]Gist继承了粘贴箱英语Pastebin的观念,此外还添加了版本控制、复刻、SSL加密等功能。因为代码片段也是Git仓库,所以单个代码片段可以容纳多个文件,并且可以通过Git进行操作。因此Gist更像一个小型项目。

2014年11月2日,Gist在中国大陆被防火长城屏蔽,无法正常访问。[19]

Student Developer Pack

GitHub与Algolia、BitnamiCrowdflower英语CrowdFlowerDigitalOceanDNSimple英语DNSimple、GitKraken、Heroku、HackHands、JetBrains、Namecheap、Orchestrate、Screenhero、SendGrid英语SendGridStripeTravis CI虚幻引擎等共同合作,于2014年10月7日发起了一个名为GitHub学生开发者套装的项目。该项目为学生提供了一些免费的开发工具和服务。[20][21]

采用的项目

許多程式庫、開發框架都採用GitHub作為为主版本控制平台,其中包括:

统计

GitHub于2008年2月运行。[40]

在2009年2月24日通过雅虎进行的一次采访中,GitHub队伍成员们宣布在GitHub运行的第一年,有共计46,000个公共版本库,它们中有17,000个是于最近一个月内创建的。当时,大概有6,200个版本库被派生(fork)至少一次,有4,600被合并。在另一个在2009年6月27日通过雅虎的采访中,Tom Preston-Werner宣布版本库数量已经提升到了90,000唯一性公共版本库,有12,000个版本库被派生(fork)至少一次,总共有135,000个版本库。[41]

在2010年6月,GitHub宣布它现在已经可提供1百万项目,它们中的60%是完整的版本库,但仍然有40%是“gist”或代码片段。2011年4月,GitHub宣称存放的代码库数量已达到2百万个。[42]2013年4月,GitHub用户数达到350万,代码库数量达到6百万个。[43]

融资

  • 2012年,GitHub从Andreessen Horowitz筹集了1亿美元的资金,估值为7.5亿美元[44]
  • 2015年7月29日,GitHub表示已在红杉资本(Sequoia Capital)领投的一轮融资中筹集了2.5亿美元。 那一轮的其他投资者包括Andreessen Horowitz,Thrive Capital和IVP(机构风险合伙人)。该轮融资对公司的估值约为20亿美元。[44]
  • 2018年6月4日,微软宣布有意以75亿美元的价格收购GitHub。 该交易于2018年10月26日完成。GitHub继续作为社区,平台和业务独立运作。在Microsoft的领导下,该服务由Xamarin的Nat Friedman领导,并向Microsoft Cloud和AI执行副总裁Scott Guthrie汇报。 GitHub的首席执行官Chris Wanstrath被保留为“技术研究员”,并向Guthrie汇报。[44]

事件

GitHub被封锁

GitHub曾在中国、俄罗斯和印度等国被审查和封锁,雖然此網站是單純的技術社群一般較少具政治敏感訊息的議題,但相關代碼可用於開發突破网络审查等線上隱蔽軟體或者中间件;同时因其具有较方便的协作功能特性,因此有部分用于非代码的政治诉求或敏感内容,因此相关政府要求对于该种信息进行管制。GitHub在收到政府对某一仓库的管制请求时,会将公文公开在官方仓库github/gov-takedowns页面存档备份,存于互联网档案馆)。[45]

  • 2013年1月20日,中国大陆政府的防火長城利用域名污染和關鍵詞過濾等手段封鎖GitHub。[46][47]23日,GitHub被解封,事件平息。
  • 2013年1月26日,有中国大陆的用户在访问GitHub时发现证书无效,经检查发现,GitHub的证书变为了一自签署的X.509证书,生成时间为2013年1月25日14时29分12秒,有效期一年,故有人推测GitHub疑似遭到了中间人攻击。攻击持续了约一个小时后停止,访问恢复正常。[48][49]
  • 2014年12月3日,GitHub因用户发布自杀教学内容而被俄罗斯封锁。[50]
  • 2014年12月31日,GitHub等32个网站因用户发布的伊斯兰国相关内容而被印度封锁。[51]2015年1月10日,GitHub被解封,但2015年9月12日GitHub在整个印度又被封锁。
  • 2015年3月26日,GitHub遭受了GitHub历史上最严重的阻斷服務攻擊[52]GitHub堅信攻擊者的目的在於迫使GitHub刪除特定類型的內容。[52]截止29日,攻击者共使用了四種DDoS攻擊技術。[53]攻击于31日停止。外界有人傳聞這是中國政府所為,但中国政府予以否认。[54][55]该攻击工具也被称为“大炮”。
  • 2015年8月,中國政府進一步收緊對網際網路的控制。22日翻牆軟體Shadowsocks作者迫於警方壓力刪除項目。25日,翻牆軟體GoAgent作者自行刪除自己的代碼。同一天GitHub再次遭到來自中國大陸的DDoS攻擊。[56][57]部分开发者认为此次攻击与中国政府有关。[58]
  • 2016年2月29日,編程隨想的博客Github上發佈了《趙家人》專案,整理出据称为中国大陆权贵阶层包括130多个家族、700多人的资料和关系网络。其中在6月8日,中国网络空间安全协会致信GitHub,称该项目下的一个issue页面存档备份,存于互联网档案馆)诽谤中华人民共和国最高领导人习近平有谋杀嫌疑,要求立刻删除。这个题为“習近平有重大殺人嫌疑!”的issue列举了16条指控习近平犯下谋杀罪行的理由,在2020年2月已有2000个以上的评论,至今仍然保持开放。该issue的作者用户名为CMB-news,可疑的是其于Github上的个人主页页面存档备份,存于互联网档案馆)显示该用户仅在2016年做出了数个不含任何代码的编辑,此后便无活动,亦未见其与项目zhao的正式关联。3天后GitHub公开了这封信页面存档备份,存于互联网档案馆)。这是GitHub收到的第一个来自代表中国大陆官方的请求[59]
  • 2020年3月26日,中国大陆多地用户访问GitHub Pages时发现遭遇中间人攻击证书变为一张通过私人QQ邮箱自签名的证书,生成时间为2019年9月26日。部分地区遭受攻击数小时后停止,[60]但也有部分地区持续遭受攻击1-2天且证书变为了另一张使用MyMail自签名的证书[61]DNSMon系统的证书信息顯示同一时间京东等網站也遭到了相同攻击[62],尚无证据证明此次事件与审查有关。[63]
  • 2021年2月末至今[64],中国大陆开始对 *.github.com,以及raw.githubusercontent.com的域名进行“间歇性”的屏蔽。

GitHub限制用戶與專案

  • 2019年5月,GitHub更新了用户协议,表明GitHub的产品和服务适用于美国出口管制法律[65]
  • 2019年7月起,GitHub基于美国出口管理条例,开始对伊朗叙利亚和克里米亚的私人repo和付费账户实施限制[66][67][68],2020年4月起一個名為Aurelia的軟體代碼被GitHub封鎖引起較大紛爭,其理由為參與的兩個志願者為伊朗人,引起該程式諸多志願者不滿並於硅谷的「 黑客新闻 」论坛大舉批判,後續GitHub改變作法重新啟動Aurelia頁面但封鎖兩個伊朗人帳號,之前並發生過一名為Hamed Saeed的開發者已經移民芬蘭多年但祖籍為伊朗而被封鎖的事件。[69]此事件引發一個後續討論,美國訂定的制裁他國法案僅限於不讓特定外國人使用美國技術,然而GitHub上的技術是各國志願者撰寫並無償分享,並非美國購買有版權的所有物,[70]其中也包含伊朗程式員也就是其實有伊朗的技術,美國無權拿不屬於自己的東西制裁別人甚至「拿伊朗的技術制裁伊朗」。GitHub最后在爭議下覺得有所理虧而改變作法,被封禁的用户可以下載回自己的作品,但依然不能在社区里查看代码。[71][72]
  • 2020年10月23日,美国唱片业协会(RIAA)根据《数字千年著作权法案》(DMCA)向GitHub发布了删除通知,其中要求删除youtube-dl及其分支。GitHub接受了请求,移除了该项目。
  • 2020年11月16日,电子前哨基金会正式向GitHub发送了一份质疑移除请求的信,澄清了该软件并没有规避任何著作权保护措施。[73]随后GitHub恢复了该存储库。GitHub还在官方博客中宣布,未来将由技术和法律专家组成的团队逐项审查所有涉及《数字千年著作权法案》第1201节的移除请求。[74]

趣聞

因GitHub開源社群性別嚴重失衡,男性群體高達95%以上[75],故GitHub常被網友們戲稱為GayHub」、「全球最大同性交友網站」[來源請求][76]

参考资料

  1. ^ GitHub Diversity. GitHub. [2019-05-19]. (原始内容存档于2019-05-19). 
  2. ^ Git User's Survey 2009. Survs.com. [2018-06-04]. (原始内容存档于2018-02-21). 
  3. ^ User search. GitHub. [June 5, 2018]. (原始内容存档于2019-10-16) (英语). Showing 28,337,706 available users 
  4. ^ Celebrating nine years of GitHub with an anniversary sale. github.com. Github. [April 11, 2017]. (原始内容存档于2017-04-28). 
  5. ^ Georgios Gousios; Bogdan Vasilescu; Alexander Serebrenik; Andy Zaidman. Lean GHTorrent: GitHub Data on Demand (PDF). The Netherlands: Delft University of Technology & †Eindhoven University of Technology: 1. [9 July 2014]. (原始内容 (PDF)存档于2014年7月14日). During recent years, GITHUB (2008) has become the largest code host in the world. 
  6. ^ Dave Lee. Microsoft buys Github code-sharing site for $7.5bn. BBC News. 2018-06-04 [2018-06-06]. (原始内容存档于2018-06-06) (英语). 
  7. ^ defunkt. A bright future for GitHub. The GitHub Blog. 2018-06-04 [2018-06-06]. (原始内容存档于2018-06-06) (英语). 
  8. ^ Satya Nadella. Microsoft + GitHub = Empowering Developers. The Official Microsoft Blog. 2018-06-04 [2018-06-06]. (原始内容存档于2018-06-06) (英语). 
  9. ^ Weis, Kristina. GitHub CEO and Co-Founder Chris Wanstrath Keynoting Esri’s DevSummit!. 2014-02-10 [2015-07-02]. (原始内容存档于2014-07-14). in 2007 they began working on GitHub as a side project 
  10. ^ Preston-Werner, Tom. GitHub Turns One!. GitHub. 19 October 2008 [2014-03-28]. (原始内容存档于2014-04-21). 
  11. ^ Catone, Josh. GitHub Gist is Pastie on Steroids. 24 July 2008 [2015-07-02]. (原始内容存档于2015-07-02). 
  12. ^ Unlimited free private repositories with GitHub Free and a unified business offering with GitHub Enterprise. GitHub. 2019-01-07 [2019-01-08]. (原始内容存档于2019-01-08). 
  13. ^ {{cite web | url = https://help.github.com/en/github/getting-started-with-github/faq-about-changes-to-githubs-plans%7C[失效連結] title = FAQ about changes to GitHub’s plans | publisher = GitHub | date = 2020-04-14 | accessdate = 2020-04-15 | archive-url = https://web.archive.org/web/20200414205238/ | archive-date = 2020-04-15 | dead-url = no }]
  14. ^ Interview with Chris Wanstrath. Doeswhat.com. 2012-03-06 [2013-02-26]. (原始内容存档于2013-03-05). 
  15. ^ Weinhoffer, Eric. GitHub Now Supports STL File Viewing. 2013-04-09 [2015-07-02]. (原始内容存档于2015-07-01). 
  16. ^ Introducing GitHub Enterprise. GitHub. [13 July 2014]. (原始内容存档于2016-03-24). 
  17. ^ GitHub Pages. The GitHub Blog. 2008-12-18 [2020-03-29]. (原始内容存档于2020-03-29) (美国英语). 
  18. ^ Preston-Werner, Tom. God's memory leak - a scientific treatment. RubyFringe. 2008-07-20 [2014-10-21]. (原始内容存档于2008-05-13). He previewed the upcoming git feature gist 
  19. ^ 翻墙 | iaskfq:小组长的2014. 中国数字时代. [2016-01-07]. (原始内容存档于2016-02-09). 
  20. ^ By Frederic Lardinois, TechCrunch. "GitHub Partners With Digital Ocean, Unreal Engine, Others To Give Students Free Access To Developer Tools页面存档备份,存于互联网档案馆)." 7 October 2014. 7 October 2014.
  21. ^ Cara Mudah Mendapatkan GitHub Student Developer Pack. Christiandro. [2021-12-03]. (原始内容存档于2022-04-17) (印度尼西亚语). 
  22. ^ Working With Git. Avogadro. [2010-08-23]. (原始内容存档于2010-09-09). 
  23. ^ cryos's avogadro at master. GitHub. [2010-08-23]. (原始内容存档于2009-05-27). 
  24. ^ Wanstrath, Chris. jQuery!. GitHub blog. 29 October 2009 [2010-08-23]. (原始内容存档于2010-02-14). 
  25. ^ Mint to use Launchpad for translations, bugs, blueprints and github for code hosting and version control. The Linux Mint Blog. 22 July 2009 [2010-08-23]. (原始内容存档于2010-02-08). 
  26. ^ Smart, Chris. Miscellaneous News. DistroWatch Weekly. 27 July 2009, (313) [2010-08-23]. (原始内容存档于2010-01-13). 
  27. ^ GitFAQ - Mono. Mono-project.com. [2018-06-04]. (原始内容存档于2018-04-03). 
  28. ^ Mono Project. Mono Project. GitHub. [2018-06-04]. (原始内容存档于2018-06-14). 
  29. ^ FrictionalGames' PenumbraOverture at master. GitHub. [2010-08-23]. (原始内容存档于2010-06-10). 
  30. ^ Penumbra: Overture goes Open Source!. Frictional Games. [2010-08-23]. (原始内容存档于2010-05-17). 
  31. ^ Chacon, Scott. Perl Mirror on GitHub. GitHub blog. 23 December 2008 [2010-08-23]. (原始内容存档于2010-01-06). 
  32. ^ Wall, Larry. Perl's first commit. GitHub. 18 December 1987. [永久失效連結]
  33. ^ phpBB moves source code versioning from Subversion to Git. phpBB. [2010-08-23]. (原始内容存档于2010-09-24). 
  34. ^ Tomas's prey at master. GitHub. [2010-08-23]. (原始内容存档于2009-08-25). 
  35. ^ Git Version Control. Rails Wiki. [2010-08-23]. (原始内容存档于2012-10-17). 
  36. ^ rails's rails at master. GitHub. [2010-08-23]. (原始内容存档于2009-09-03). 
  37. ^ Sinatra. [2020-04-06]. (原始内容存档于2020-02-27). 
  38. ^ sproutcore. GitHub. [2010-08-23]. (原始内容存档于2010-03-16). 
  39. ^ collaborativetrust's WikiTrust at master. GitHub. [2010-08-23]. (原始内容存档于2010-01-07). 
  40. ^ Wanstrath, Chris. Hotkeys and Wikis. GitHub. 18 February 2008 [2010-08-23]. (原始内容存档于2010-02-14). 
  41. ^ Dascalescu, Dan. The PITA Threshold: GitHub vs. CPAN. Dan Dascalescu's Wiki. 3 November 2009 [2010-08-23]. (原始内容存档于2011-07-08). 
  42. ^ Those are some big numbers. GitHub blog. 20 April 2011 [2014-01-15]. (原始内容存档于2014-04-21). 
  43. ^ GitHub celebrates fifth birthday, 3.5 million users and six million repositories. ZDNet. 11 April 2013 [2014-01-15]. (原始内容存档于2014-01-16). 
  44. ^ 44.0 44.1 44.2 微软公司旗下代码托管服务提供商:GitHub公司. 美股之家. 2021-05-25 [2021-05-25]. (原始内容存档于2021-05-25). 
  45. ^ github/gov-takedowns/README.md. GitHub. [2020-04-15]. (原始内容存档于2020-12-13) (英语). 
  46. ^ 程序员叫苦 李开复质疑. 南方都市报. 2013-01-23 [2013-01-23]. (原始内容存档于2013-01-26). 
  47. ^ Programmers angry over blocking of GitHub code-sharing site. 南华早报. 2013-01-24 [2013-01-24]. (原始内容存档于2013-01-26). 
  48. ^ 中国国家防火墙对GitHub进行了中间人攻击. solidot. 2013-01-26 [2013-01-26]. (原始内容存档于2013-01-28). 
  49. ^ 中国, GitHub和中间人攻击. greatfire. 2013-01-30 [2013-01-30]. (原始内容存档于2013-06-14). 
  50. ^ Russia Blacklists, Blocks GitHub Over Pages That Refer To Suicide. [2016-07-02]. (原始内容存档于2016-05-31). 
  51. ^ GitHub, Vimeo and 30 more sites blocked in India over content from ISIS. thenextweb.com. The Next Web. 2014-12-31 [2016-07-02]. (原始内容存档于2016-07-25). 
  52. ^ 52.0 52.1 Large Scale DDoS Attack on github.com. GitHub's blog. March 27, 2015 [2015-03-31]. (原始内容存档于2015-03-28) (英语). 
  53. ^ 对GitHub的大规模DDoS攻击已超过80个小时. 奇客Solidot. 2015-03-30 [2015-03-30]. (原始内容存档于2015-03-31) (中文(中国大陆)). 
  54. ^ 陳曉莉. GitHub遭遇史上最大規模DDoS攻擊,反中國網路防火牆專案被鎖定. 台灣iThome. 2015-03-30 [2015-03-30]. (原始内容存档于2015-03-31) (中文(臺灣)). 
  55. ^ 海寧. 中共借刀杀人 利用海外华人发起DDoS攻击. 大紀元新聞網. 2015-03-27 [2015-03-30]. (原始内容存档于2015-03-30) (中文(简体)). 
  56. ^ Andrew Blake. China tightens noose on Internet as anti-censorship tools suddenly shutter. The Washington Times. 2015-08-26 [2016-01-07]. (原始内容存档于2022-06-06). (英文)
  57. ^ GoAgent开发者删除项目,GitHub再次受到DDoS攻击. Solidot. 2015-08-25 [2016-01-07]. (原始内容存档于2016-03-06). (简体中文)
  58. ^ Catalin Cimpanu. Recent GitHub DDOS Linked to Chinese Government and Two GitHub Projects. Softpedia. 2015-08-29 [2016-01-15]. (原始内容存档于2016-05-06). (英文)
  59. ^ 吳嬙. 开源“赵家人”名单,GitHub激怒中国网安协会首出拳. 端传媒. 2016-06-28 [2020-01-13]. (原始内容存档于2020-03-27). 
  60. ^ 有攻击者正发动中间人攻击 GitHub和京东受影响最大 - 安全. cnBeta.COM. [2020-03-26]. (原始内容存档于2020-03-26) (中文(中国大陆)). 
  61. ^ (动态更新中) 有黑客正在通过国内骨干网络发动大规模的中间人攻击|蓝点网. www.landiannews.com. [2020-03-28]. (原始内容存档于2020-03-27). 
  62. ^ 一些网站https证书出现问题的情况分析. 360 Netlab Blog. 2020-03-28 [2020-04-06]. (原始内容存档于2020-04-01) (中文(中国大陆)). 
  63. ^ GitHub 遭遇中间人攻击,访问报证书错误. OSCHINA. 2020-03-27 [2020-03-27]. (原始内容存档于2020-03-27). 
  64. ^ Blocky. Greatfire. 2021-12-31 [2021-12-31]. (原始内容存档于2022-04-08). 
  65. ^ 宪瑞. Github更新用户协议 开源代码也要受美国出口管制. 快科技. 2019-05-21 [2019-05-21]. (原始内容存档于2019-05-23) (中文(中国大陆)). 
  66. ^ GitHubDaily. 美国对外实行制裁,致多个地区 GitHub 账号使用受限!. GitHubDaily. 2019-07-26 [2019-08-01]. (原始内容存档于2019-08-01) (中文(中国大陆)). 
  67. ^ GitHubDaily. GitHub CEO 正式回应账号访问受限事件!. GitHubDaily. 2019-07-29 [2019-08-01]. (原始内容存档于2019-08-01) (中文(中国大陆)). 
  68. ^ 黄善清. 令人心寒的不是 Github 突然断供,而是 CEO 对此表示无能为力. 雷锋网. 2019-07-29 [2019-08-01]. (原始内容存档于2019-08-01) (中文(中国大陆)). 
  69. ^ 雷鋒站-GitHub是开源,最终也是政治. [2020-04-10]. (原始内容存档于2020-12-13). 
  70. ^ mohebifar /made-in-iran. [2020-04-10]. (原始内容存档于2020-12-13). 
  71. ^ 觀察者網-因为两位志愿者来自伊朗. [2020-04-10]. (原始内容存档于2020-12-13). 
  72. ^ GitHub惹衆怒,CEO 親自道歉. [2020-04-10]. (原始内容存档于2020-09-03). 
  73. ^ EFF letter to GitHub on youtube-dl Takedown. [2020-11-17]. (原始内容存档于2021-07-19). 
  74. ^ Standing up for developers: youtube-dl is back. [2020-11-16]. (原始内容存档于2021-07-10). 
  75. ^ 陳曉莉. GitHub開源社群大調查:多數只會寫程式不會寫文件、性別嚴重失衡. iThome. 2017-06-05 [2018-06-14]. (原始内容存档于2018-06-15) (中文(臺灣)). 
  76. ^ 火柴Q. 互联网巨头终极战场:得开发者得天下. iThome. 2017-06-13 [2018-06-14]. (原始内容存档于2018-06-15) (中文(中国大陆)). 

参考文献

外部链接

參見