GitHub:修订间差异

维基百科,自由的百科全书
删除的内容 添加的内容
标签Wikiplus 移动版编辑 移动版网页编辑 高级移动版编辑
回退Jimlee0824对话)的编辑,改回Gongxiang01的最后一个版本
(未显示23个用户的30个中间版本)
第1行: 第1行:
{{NoteTA
{{NoteTA
|G1=IT
|G1=IT
|1=zh-tw:世界協調時間;zh-hk:協調世界時;zh-cn:协调世界时;
|1=zh-tw:世界協調時間;zh-hk:協調世界時;zh-cn:协调世界时;
|2=zh-tw:架構;zh-cn:框架;
|2=zh-tw:架構;zh-cn:框架;
|3=zh-tw:讚;zh-hk:讚好;
|3=zh-tw:讚;zh-hk:讚好;
|4=讚=>zh-cn:;讚=>zh-sg:;
|4=zh-tw:跟隨;zh-cn:关注;
|5=zh-tw:跟随;zh-cn:关注;
|5=zh-tw:透過;zh-cn:通过;
|6=zh-tw:透過;zh-cn:通过;
}}
}}
{{Infobox dot-com company
{{Infobox dot-com company
| name = GitHub
| name = GitHub
| logo = [[File:Font Awesome 5 brands github.svg|54px]] [[File:Octicons-logo-github.svg|128px]]
| logo = [[File:GitHub_Invertocat_Logo.svg|54px]] [[File:Octicons-logo-github.svg|128px]]
| company_type = [[子公司]]
| company_type = [[子公司]]
| url = {{URL|https://github.com}}
| url = {{URL|https://github.com}}
| founder = {{plainlist|
| founder = {{plainlist|
* [[汤姆·普雷斯顿·沃纳]]
* [[汤姆·普雷斯顿·沃纳]]
* {{tsl|en|Chris Wanstrath|}}
* {{tsl|en|Chris Wanstrath|克里斯·汪斯崔斯}}
* {{tsl|en|P. J. Hyett|}}
* {{tsl|en|P. J. Hyett|P·J·海特}}
}}
}}
| CEO =Thomas Dohmke
| CEO = Thomas Dohmke
| key_people = {{plainlist|
| key_people = {{plainlist|
* {{lang|en|Erica Brescia (COO)}}
* {{lang|en|Erica Brescia (COO)}}
* {{lang|en|Carrie Olesen (CHRO)}}
* {{lang|en|Carrie Olesen (CHRO)}}
* {{lang|en|Mike Taylor (CFO)}}
* {{lang|en|Mike Taylor (CFO)}}
}}
}}
| commercial = 是
| commercial = 是
| type = [[Git]]版本库托管
| type = [[Git]]版本库托管
| programming_language = [[Ruby]]
| programming_language = [[Ruby]]
| users = 4000万(20198月)
| users = 1亿(20231月)
| language = [[英文]]
| language = [[英文]]
| registration = 可选<small>(建立和参与项目时需要)</small>
| registration = 可选<small>(建立和参与项目时需要)</small>
| owner = [[微軟]]
| owner = [[微軟]]
| founded = {{Start date and age|2008|02}}
| founded = {{Start date and age|2008|02}}
|location_city=[[加利福尼亚州]][[旧金山]]|location_country={{USA}}| area_served = 全球
| location_city = [[加利福尼亚州]][[旧金山]]
| location_country = {{USA}}
| area_served = 全球
| industry = [[软件]]
| industry = [[软件]]<br>[[代码库]]<br>[[社群网站|社群]]
| employees = 1,079<ref>{{cite web|title=GitHub Diversity|url=https://github.com/about/diversity|website=GitHub|access-date=2019-05-19|archive-url=https://web.archive.org/web/20190519222642/https://github.com/about/diversity|archive-date=2019-05-19|dead-url=no}}</ref>
| employees = 1,079<ref>{{cite web|title=GitHub Diversity|url=https://github.com/about/diversity|website=GitHub|access-date=2019-05-19|archive-url=https://web.archive.org/web/20190519222642/https://github.com/about/diversity|archive-date=2019-05-19|dead-url=no}}</ref>
|parent=[[微软]]| current_status = 在线
| parent = [[微软]]
| current_status = 在线
}}
}}


'''GitHub'''是一个在线软件[[源代码]]托管服务平台,使用[[Git]]作为[[版本控制]]软件,由开发者{{tsl|en|Chris Wanstrath|}}、{{tsl|en|P. J. Hyett|}}和[[汤姆·普雷斯顿·沃纳]]使用[[Ruby on Rails]]编写而成。在2018年,GitHub被[[微软]]公司收购。<ref>{{cite news|language=en|url=https://www.bbc.com/news/technology-44351214|date=2018-06-04|access-date=2018-06-06|title=Microsoft buys Github code-sharing site for $7.5bn|author=Dave Lee|website=BBC News|dead-url=no|archive-url=https://web.archive.org/web/20180606022036/https://www.bbc.com/news/technology-44351214|archive-date=2018-06-06}}</ref><ref>{{cite web|language=en|url=https://blog.github.com/2018-06-04-github-microsoft/|title=A bright future for GitHub|date=2018-06-04|access-date=2018-06-06|website=The GitHub Blog|author=defunkt|dead-url=no|archive-url=https://web.archive.org/web/20180606022645/https://blog.github.com/2018-06-04-github-microsoft/|archive-date=2018-06-06}}</ref><ref>{{cite web|url=https://blogs.microsoft.com/blog/2018/06/04/microsoft-github-empowering-developers/|title=Microsoft + GitHub = Empowering Developers|website=The Official Microsoft Blog|author=Satya Nadella|date=2018-06-04|access-date=2018-06-06|language=en|dead-url=no|archive-url=https://web.archive.org/web/20180606022729/https://blogs.microsoft.com/blog/2018/06/04/microsoft-github-empowering-developers/|archive-date=2018-06-06}}</ref>
'''GitHub'''是一个在线软件[[源代码]]托管服务平台,使用[[Git]]作为[[版本控制]]软件,由开发者{{tsl|en|Chris Wanstrath|克里斯·汪斯崔斯}}、{{tsl|en|P. J. Hyett|P·J·海特}}和[[汤姆·普雷斯顿·沃纳]]使用[[Ruby on Rails]]编写而成。在2018年,GitHub被[[微软]]公司收购。<ref>{{cite news|language=en|url=https://www.bbc.com/news/technology-44351214|date=2018-06-04|access-date=2018-06-06|title=Microsoft buys Github code-sharing site for $7.5bn|author=Dave Lee|website=BBC News|dead-url=no|archive-url=https://web.archive.org/web/20180606022036/https://www.bbc.com/news/technology-44351214|archive-date=2018-06-06}}</ref><ref>{{cite web|language=en|url=https://blog.github.com/2018-06-04-github-microsoft/|title=A bright future for GitHub|date=2018-06-04|access-date=2018-06-06|website=The GitHub Blog|author=defunkt|dead-url=no|archive-url=https://web.archive.org/web/20180606022645/https://blog.github.com/2018-06-04-github-microsoft/|archive-date=2018-06-06}}</ref><ref>{{cite web|url=https://blogs.microsoft.com/blog/2018/06/04/microsoft-github-empowering-developers/|title=Microsoft + GitHub = Empowering Developers|website=The Official Microsoft Blog|author=Satya Nadella|date=2018-06-04|access-date=2018-06-06|language=en|dead-url=no|archive-url=https://web.archive.org/web/20180606022729/https://blogs.microsoft.com/blog/2018/06/04/microsoft-github-empowering-developers/|archive-date=2018-06-06}}</ref>


GitHub同时提供付费账户和免费账户。这两种账户都可以建立公开或私有的[[代码库|代码仓库]],但付费用户拥有更多功能。根据在2009年的Git用户调查,GitHub是最流行的[[Git]]存取站点<ref name=":0">{{cite web |url=http://www.survs.com/WO/WebObjects/Survs.woa/wa/shareResults?survey=2PIMZGU0&rndm=678J66QRA2 |title=Git User's Survey 2009 |publisher=Survs.com |date= |accessdate=2018-06-04 |archive-url=https://web.archive.org/web/20180221162111/https://survs.com/WO/WebObjects/Survs.woa/wa/shareResults?survey=2PIMZGU0&rndm=678J66QRA2 |archive-date=2018-02-21 |dead-url=no }}</ref>除了允许个人和组织建立和存取保管中的代码以外,它也提供了一些方便社会化共同软件开发的功能,即一般人口中的社群功能,包括允许用户追蹤其他用户、组织、软件库的动态,对软件代码的改动和[[程序错误|bug]]提出评论等。GitHub也提供了图表功能,用于概觀显示开发者们怎样在代码库上工作以及软件的开发活跃程度。
GitHub同时提供付费账户和免费账户。这两种账户都可以建立公开或私有的[[代码库|代码仓库]],但付费用户拥有更多功能。根据在2009年的Git用户调查,GitHub是最流行的[[Git]]存取站点<ref name=":0">{{cite web |url=http://www.survs.com/WO/WebObjects/Survs.woa/wa/shareResults?survey=2PIMZGU0&rndm=678J66QRA2 |title=Git User's Survey 2009 |publisher=Survs.com |date= |accessdate=2018-06-04 |archive-url=https://web.archive.org/web/20180221162111/https://survs.com/WO/WebObjects/Survs.woa/wa/shareResults?survey=2PIMZGU0&rndm=678J66QRA2 |archive-date=2018-02-21 |dead-url=no }}</ref>除了允许个人和组织建立和存取保管中的代码以外,它也提供了一些方便社会化共同软件开发的功能,即一般人口中的社群功能,包括允许用户追蹤其他用户、组织、[[软件库]]的动态,对软件代码的改动和[[程序错误|bug]]提出评论等。GitHub也提供了图表功能,用于概觀显示开发者们怎样在代码库上工作以及软件的开发活跃程度。


截至2022年6月,GitHub已经有超过5700万注册用户<ref>{{cite web|title=User search|url=https://github.com/search?q=type:user&type=Users|access-date=20220-06-08|website=GitHub|language=en|archive-url=https://web.archive.org/web/20191016232523/https://github.com/search?q=type:user&type=Users|archive-date=2019-10-16|dead-url=no|quote=Showing 28,337,706 available users}}</ref>和1.9亿代码库(包括至少2800万开源代码库),<ref>{{cite web |url = https://github.com/blog/2345-celebrating-nine-years-of-github-with-an-anniversary-sale |title = Celebrating nine years of GitHub with an anniversary sale |website = github.com |publisher = Github |accessdate = April 11, 2017 |archive-url = https://web.archive.org/web/20170428045633/https://github.com/blog/2345-celebrating-nine-years-of-github-with-an-anniversary-sale |archive-date = 2017-04-28 |dead-url = no }}</ref>事实上已经成为了世界上最大的代码托管网站和[[开放源代码|开源]]社区<ref>{{cite journal|author1=Georgios Gousios|author2=Bogdan Vasilescu|author3=Alexander Serebrenik|author4=Andy Zaidman|title=Lean GHTorrent: GitHub Data on Demand|page=1|url=http://flosshub.org/sites/flosshub.org/files/lean-ghtorrent.pdf|accessdate=9 July 2014|publisher=Delft University of Technology & †Eindhoven University of Technology|location=The Netherlands|quote=During recent years, GITHUB (2008) has become the largest code host in the world.|deadurl=yes|archiveurl=https://web.archive.org/web/20140714155716/http://flosshub.org/sites/flosshub.org/files/lean-ghtorrent.pdf|archivedate=2014年7月14日|journal=}}</ref>
截至2022年6月,GitHub已经有超过5700万注册用户<ref>{{cite web|title=User search|url=https://github.com/search?q=type:user&type=Users|access-date=20220-06-08|website=GitHub|language=en|archive-url=https://web.archive.org/web/20191016232523/https://github.com/search?q=type:user&type=Users|archive-date=2019-10-16|dead-url=no|quote=Showing 28,337,706 available users}}</ref>和1.9亿代码库(包括至少2800万开源代码库<ref>{{cite web |url = https://github.com/blog/2345-celebrating-nine-years-of-github-with-an-anniversary-sale |title = Celebrating nine years of GitHub with an anniversary sale |website = github.com |publisher = Github |accessdate = April 11, 2017 |archive-url = https://web.archive.org/web/20170428045633/https://github.com/blog/2345-celebrating-nine-years-of-github-with-an-anniversary-sale |archive-date = 2017-04-28 |dead-url = no }}</ref>事实上已经成为了世界上最大的代码托管网站和[[开放源代码|开源]]社区<ref>{{cite journal|author1=Georgios Gousios|author2=Bogdan Vasilescu|author3=Alexander Serebrenik|author4=Andy Zaidman|title=Lean GHTorrent: GitHub Data on Demand|page=1|url=http://flosshub.org/sites/flosshub.org/files/lean-ghtorrent.pdf|accessdate=9 July 2014|publisher=Delft University of Technology & †Eindhoven University of Technology|location=The Netherlands|quote=During recent years, GITHUB (2008) has become the largest code host in the world.|deadurl=yes|archiveurl=https://web.archive.org/web/20140714155716/http://flosshub.org/sites/flosshub.org/files/lean-ghtorrent.pdf|archivedate=2014年7月14日|journal=}}</ref>。截至2023年1月26日,已经有超过1亿开发人员使用GitHub。<ref>{{Cite web|last=Dohmke|first=Thomas|date=2023-01-25|title=100 million developers and counting|url=https://github.blog/2023-01-25-100-million-developers-and-counting/|access-date=2023-02-05|website=The GitHub Blog|language=en-US|archive-date=2023-05-26|archive-url=https://web.archive.org/web/20230526070153/https://github.blog/2023-01-25-100-million-developers-and-counting/|dead-url=no}}</ref>


== 服务 ==
== 服务 ==
=== GitHub ===
=== GitHub ===
GitHub平台于2007年10月1日开始开发<ref name="beginning">{{cite web |url=http://blogs.esri.com/esri/arcgis/2014/02/10/github-ceo-and-co-founder-chris-wanstrath-keynoting-esris-devsummit/ |title=GitHub CEO and Co-Founder Chris Wanstrath Keynoting Esri’s DevSummit! |first1=Kristina |last1=Weis |date=2014-02-10 |quote=in 2007 they began working on GitHub as a side project |access-date=2015-07-02 |archive-url=https://web.archive.org/web/20140714204749/http://blogs.esri.com/esri/arcgis/2014/02/10/github-ceo-and-co-founder-chris-wanstrath-keynoting-esris-devsummit/ |archive-date=2014-07-14 |dead-url=yes }}</ref><ref name="githuboneyear">{{cite web|url=https://github.com/blog/185-github-turns-one|title=GitHub Turns One!|work=GitHub|date=19 October 2008|first=Tom|last=Preston-Werner|accessdate=2014-03-28|archive-url=https://web.archive.org/web/20140421210635/https://github.com/blog/185-github-turns-one|archive-date=2014-04-21|dead-url=no}}</ref>网站于2008年2月以beta版本开始上线,4月份正式上线。<ref>{{cite web|url=http://www.sitepoint.com/github-gist-is-pastie-on-steroids/|title=GitHub Gist is Pastie on Steroids|date=24 July 2008|first1=Josh|last1=Catone|access-date=2015-07-02|archive-url=https://web.archive.org/web/20150702023808/http://www.sitepoint.com/github-gist-is-pastie-on-steroids/|archive-date=2015-07-02|dead-url=yes}}</ref>
GitHub平台于2007年10月1日开始开发<ref name="beginning">{{cite web |url=http://blogs.esri.com/esri/arcgis/2014/02/10/github-ceo-and-co-founder-chris-wanstrath-keynoting-esris-devsummit/ |title=GitHub CEO and Co-Founder Chris Wanstrath Keynoting Esri’s DevSummit! |first1=Kristina |last1=Weis |date=2014-02-10 |quote=in 2007 they began working on GitHub as a side project |access-date=2015-07-02 |archive-url=https://web.archive.org/web/20140714204749/http://blogs.esri.com/esri/arcgis/2014/02/10/github-ceo-and-co-founder-chris-wanstrath-keynoting-esris-devsummit/ |archive-date=2014-07-14 |dead-url=yes }}</ref><ref name="githuboneyear">{{cite web|url=https://github.com/blog/185-github-turns-one|title=GitHub Turns One!|work=GitHub|date=19 October 2008|first=Tom|last=Preston-Werner|accessdate=2014-03-28|archive-url=https://web.archive.org/web/20140421210635/https://github.com/blog/185-github-turns-one|archive-date=2014-04-21|dead-url=no}}</ref>网站于2008年2月以beta版本开始上线,4月份正式上线。<ref>{{cite web|url=http://www.sitepoint.com/github-gist-is-pastie-on-steroids/|title=GitHub Gist is Pastie on Steroids|date=24 July 2008|first1=Josh|last1=Catone|access-date=2015-07-02|archive-url=https://web.archive.org/web/20150702023808/http://www.sitepoint.com/github-gist-is-pastie-on-steroids/|archive-date=2015-07-02|dead-url=yes}}</ref>
<!-- 注释: [[File:Octocat.png|缩略图|GitHub吉祥物]] -->
<!-- 注释: [[File:Octocat.png|缩略图|GitHub吉祥物]] -->
GitHub里面的项目可以透過标准的[[Git]]命令进行访问和操作。同时,所有的Git命令都可以用到GitHub项目上面。GitHub开发了针对[[Microsoft Windows]]和[[macOS]]操作系统的桌面客户端。此外,也可以使用第三方插件来实现Git功能。
GitHub里面的项目可以透過标准的[[Git]]命令进行访问和操作。同时,所有的Git命令都可以用到GitHub项目上面。GitHub开发了针对[[Microsoft Windows]]和[[macOS]]操作系统的桌面客户端。此外,也可以使用第三方插件来实现Git功能。


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


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|{{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>。
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>{{cite web | url =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>。


==== 开发语言 ====
==== 开发语言 ====
第69行: 第71行:
* [[甘特图]]
* [[甘特图]]
* 可视化的地理位置分析
* 可视化的地理位置分析
* 预览3D渲染文件<ref name="3d">{{cite web |url=http://makezine.com/2013/04/09/github-now-supports-stl-file-viewing/ |title=GitHub Now Supports STL File Viewing |date=2013-04-09 |last1=Weinhoffer |first1=Eric |access-date=2015-07-02 |archive-url=https://web.archive.org/web/20150701214318/http://makezine.com/2013/04/09/github-now-supports-stl-file-viewing/ |archive-date=2015-07-01 |dead-url=no }}</ref>预览功能通过[[WebGL]]和[[Three.js]]实现。
* 预览3D渲染文件<ref name="3d">{{cite web |url=http://makezine.com/2013/04/09/github-now-supports-stl-file-viewing/ |title=GitHub Now Supports STL File Viewing |date=2013-04-09 |last1=Weinhoffer |first1=Eric |access-date=2015-07-02 |archive-url=https://web.archive.org/web/20150701214318/http://makezine.com/2013/04/09/github-now-supports-stl-file-viewing/ |archive-date=2015-07-01 |dead-url=no }}</ref>预览功能通过[[WebGL]]和[[Three.js]]实现。
* 预览[[Adobe Photoshop]]的PSD文件,甚至可以比较同一文件的不同版本。
* 预览[[Adobe Photoshop]]的PSD文件,甚至可以比较同一文件的不同版本。


第80行: 第82行:
=== GitHub Pages ===
=== GitHub Pages ===
{{Main|GitHub Pages}}
{{Main|GitHub Pages}}
GitHub Pages是GitHub提供的一个[[網頁寄存服務|网页寄存服务]],可以用于存放静态网页,包括博客、项目文档甚至整本书<ref>{{Cite web|title=GitHub Pages|url=https://github.blog/2008-12-18-github-pages/|accessdate=2020-03-29|date=2008-12-18|work=The GitHub Blog|language=en-US|archive-url=https://web.archive.org/web/20200329075650/https://github.blog/2008-12-18-github-pages/|archive-date=2020-03-29|dead-url=no}}</ref>一般GitHub Pages的网站使用github.io的子域名,但是用户也可以使用第三方域名。Github Pages以开源仓库公开静态网页源代码,可在仓库->设置->Code and automation里设置, https://github.com/ {{Wayback|url=https://github.com/ |date=20110223090328 }}<用户名>/<仓库名>/settings/pages。
GitHub Pages是GitHub提供的一个[[網頁寄存服務|网页寄存服务]],可以用于存放静态网页,包括博客、项目文档甚至整本书<ref>{{Cite web|title=GitHub Pages|url=https://github.blog/2008-12-18-github-pages/|accessdate=2020-03-29|date=2008-12-18|work=The GitHub Blog|language=en-US|archive-url=https://web.archive.org/web/20200329075650/https://github.blog/2008-12-18-github-pages/|archive-date=2020-03-29|dead-url=no}}</ref>一般GitHub Pages的网站使用github.io的子域名,但是用户也可以使用第三方域名。Github Pages以开源仓库公开静态网页源代码,可在仓库->设置->Code and automation里设置, https://github.com/ {{Wayback|url=https://github.com/ |date=20110223090328 }}<用户名>/<仓库名>/settings/pages。


=== Gist ===
=== Gist ===
GitHub提供一个{{link-en|粘贴箱|Pastebin}}风格的站点GitHub Gist。
GitHub提供一个{{link-en|粘贴箱|Pastebin}}风格的站点GitHub Gist。


Tom Preston-Werner于2008年开发了Gist功能<ref>{{cite conference |title=God's memory leak - a scientific treatment |first=Tom |last=Preston-Werner |url=https://groups.google.com/forum/#!topic/god-rb/Acyit8SlgcI |date=2008-07-20 |conference=RubyFringe |conferenceurl=https://unspace.ca/rubyfringe/ |accessdate=2014-10-21 |quote=He previewed the upcoming git feature gist |archive-url=https://web.archive.org/web/20080513034656/https://www.skepticfiles.org/rumor/j-renotn.htm#!topic/god-rb/Acyit8SlgcI |archive-date=2008-05-13 |dead-url=no }}</ref>Gist继承了{{link-en|粘贴箱|Pastebin}}的观念,此外还添加了版本控制、复刻、SSL加密等功能。因为代码片段也是Git仓库,所以单个代码片段可以容纳多个文件,并且可以通过Git进行操作。因此Gist更像一个小型项目。
Tom Preston-Werner于2008年开发了Gist功能<ref>{{cite conference |title=God's memory leak - a scientific treatment |first=Tom |last=Preston-Werner |url=https://groups.google.com/forum/#!topic/god-rb/Acyit8SlgcI |date=2008-07-20 |conference=RubyFringe |conferenceurl=https://unspace.ca/rubyfringe/ |accessdate=2014-10-21 |quote=He previewed the upcoming git feature gist |archive-url=https://web.archive.org/web/20080513034656/https://www.skepticfiles.org/rumor/j-renotn.htm#!topic/god-rb/Acyit8SlgcI |archive-date=2008-05-13 |dead-url=no }}</ref>Gist继承了{{link-en|粘贴箱|Pastebin}}的观念,此外还添加了版本控制、复刻、SSL加密等功能。因为代码片段也是Git仓库,所以单个代码片段可以容纳多个文件,并且可以通过Git进行操作。因此Gist更像一个小型项目。


2014年11月2日,Gist在中国大陆被[[防火长城]]屏蔽,无法正常访问。<ref>{{cite web|url=http://chinadigitaltimes.net/chinese/2014/12/%E7%BF%BB%E5%A2%99-isakfq%EF%BC%9A%E5%B0%8F%E7%BB%84%E9%95%BF%E7%9A%842014/|title=翻墙 &#124; iaskfq:小组长的2014|work=中国数字时代|access-date=2016-01-07|archive-url=https://web.archive.org/web/20160209173728/http://chinadigitaltimes.net/chinese/2014/12/%e7%bf%bb%e5%a2%99-isakfq%ef%bc%9a%e5%b0%8f%e7%bb%84%e9%95%bf%e7%9a%842014/|archive-date=2016-02-09|dead-url=no}}</ref>
2014年11月2日,Gist在中国大陆被[[防火长城]]屏蔽,无法正常访问。<ref>{{cite web|url=http://chinadigitaltimes.net/chinese/2014/12/%E7%BF%BB%E5%A2%99-isakfq%EF%BC%9A%E5%B0%8F%E7%BB%84%E9%95%BF%E7%9A%842014/|title=翻墙 &#124; iaskfq:小组长的2014|work=中国数字时代|access-date=2016-01-07|archive-url=https://web.archive.org/web/20160209173728/http://chinadigitaltimes.net/chinese/2014/12/%e7%bf%bb%e5%a2%99-isakfq%ef%bc%9a%e5%b0%8f%e7%bb%84%e9%95%bf%e7%9a%842014/|archive-date=2016-02-09|dead-url=no}}</ref>


=== Student Developer Pack ===
=== Student Developer Pack ===
GitHub与Algolia、[[Bitnami]]、{{link-en|Crowdflower|CrowdFlower}}、[[DigitalOcean]]、{{link-en|DNSimple|DNSimple}}、GitKraken、Heroku、HackHands、JetBrains、[[Namecheap]]、Orchestrate、Screenhero、{{link-en|SendGrid|SendGrid}}、[[Stripe]]、[[Travis CI]]和[[虚幻引擎]]等共同合作,于2014年10月7日发起了一个名为GitHub学生开发者套装的项目。该项目为学生提供了一些免费的开发工具和服务。<ref>By Frederic Lardinois, TechCrunch. "[http://techcrunch.com/2014/10/07/github-partners-with-digital-ocean-unreal-engine-and-others-to-give-students-free-access-to-developer-tools/ GitHub Partners With Digital Ocean, Unreal Engine, Others To Give Students Free Access To Developer Tools] {{Wayback|url=http://techcrunch.com/2014/10/07/github-partners-with-digital-ocean-unreal-engine-and-others-to-give-students-free-access-to-developer-tools/ |date=20150701210345 }}." 7 October 2014. 7 October 2014.</ref><ref>{{Cite web|title=Cara Mudah Mendapatkan GitHub Student Developer Pack|url=https://www.christiandro.my.id/2021/01/cara-mudah-mendapatkan-github-student.html|access-date=2021-12-03|work=Christiandro|language=id|archive-date=2022-04-17|archive-url=https://web.archive.org/web/20220417202618/https://www.christiandro.my.id/2021/01/cara-mudah-mendapatkan-github-student.html}}</ref>
GitHub与Algolia、[[Microsoft Azure]]、[[Bitnami]]、{{link-en|Crowdflower|CrowdFlower}}、[[DigitalOcean]]、{{link-en|DNSimple|DNSimple}}、GitKraken、Heroku、HackHands、JetBrains、[[Namecheap]]、{{link-en|Name.com|Name.com}}、Orchestrate、Screenhero、{{link-en|SendGrid|SendGrid}}、[[Stripe]]、[[Travis CI]]和[[虚幻引擎]]等共同合作,于2014年10月7日发起了一个名为GitHub学生开发者套装的项目。该项目为学生提供了一些免费的开发工具和服务。<ref>By Frederic Lardinois, TechCrunch. "[http://techcrunch.com/2014/10/07/github-partners-with-digital-ocean-unreal-engine-and-others-to-give-students-free-access-to-developer-tools/ GitHub Partners With Digital Ocean, Unreal Engine, Others To Give Students Free Access To Developer Tools] {{Wayback|url=http://techcrunch.com/2014/10/07/github-partners-with-digital-ocean-unreal-engine-and-others-to-give-students-free-access-to-developer-tools/ |date=20150701210345 }}." 7 October 2014. 7 October 2014.</ref><ref>{{Cite web|title=Cara Mudah Mendapatkan GitHub Student Developer Pack|url=https://www.christiandro.my.id/2021/01/cara-mudah-mendapatkan-github-student.html|access-date=2021-12-03|work=Christiandro|language=id|archive-date=2022-04-17|archive-url=https://web.archive.org/web/20220417202618/https://www.christiandro.my.id/2021/01/cara-mudah-mendapatkan-github-student.html}}</ref>


== 使用GitHub的项目 ==
== 使用GitHub的项目 ==
許多[[程式庫]]、開發框架都採用GitHub作為为主版本控制平台,其中包括:
許多知名[[程式庫]]、開發框架都採用GitHub作為为主版本控制平台,其中包括:
{{div col|colwidth=14em}}
{{div col|colwidth=14em}}
* [[Avogadro (软件)|Avogadro]]<ref>{{cite web | url = http://avogadro.openmolecules.net/wiki/Working_With_Git | title = Working With Git | work = Avogadro | deadurl = yes | archiveurl = https://web.archive.org/web/20100909165150/http://avogadro.openmolecules.net/wiki/Working_With_Git | archivedate = 2010-09-09 | accessdate = 2010-08-23 }}</ref><ref>{{cite web | url = http://github.com/cryos/avogadro/tree/master | title = cryos's avogadro at master | work = GitHub | access-date = 2010-08-23 | archive-url = https://web.archive.org/web/20090527000631/http://github.com/cryos/avogadro/tree/master | archive-date = 2009-05-27 | dead-url = no }}</ref>
* [[Avogadro (软件)|Avogadro]]<ref>{{cite web | url = http://avogadro.openmolecules.net/wiki/Working_With_Git | title = Working With Git | work = Avogadro | deadurl = yes | archiveurl = https://web.archive.org/web/20100909165150/http://avogadro.openmolecules.net/wiki/Working_With_Git | archivedate = 2010-09-09 | accessdate = 2010-08-23 }}</ref><ref>{{cite web | url = http://github.com/cryos/avogadro/tree/master | title = cryos's avogadro at master | work = GitHub | access-date = 2010-08-23 | archive-url = https://web.archive.org/web/20090527000631/http://github.com/cryos/avogadro/tree/master | archive-date = 2009-05-27 | dead-url = no }}</ref>
第99行: 第101行:
* {{tsl|en|BlogBridge||BlogBridge}}
* {{tsl|en|BlogBridge||BlogBridge}}
* [[Bootstrap]]
* [[Bootstrap]]
* [[Minecraft]]
* {{tsl|en|Capistrano|Capistrano (軟體)|Capistrano}}
* {{tsl|en|Capistrano|Capistrano (軟體)|Capistrano}}
* [[CyanogenMod]]
* [[CyanogenMod]]
* [https://web.archive.org/web/20150810192205/https://github.com/cicada-language/ cicada language]
* [https://github.com/cicada-lang/cicada Cicada language]
* [[Clojure]]
* [[Clojure]]
* {{tsl|en|Dada Mail||Dada Mail}}
* {{tsl|en|Dada Mail||Dada Mail}}
第117行: 第118行:
* [[Mono]]<ref>{{cite web |url=http://mono-project.com/GitFAQ |title=GitFAQ - Mono |publisher=Mono-project.com |date= |accessdate=2018-06-04 |archive-url=https://web.archive.org/web/20180403051106/http://www.mono-project.com/GitFAQ/ |archive-date=2018-04-03 |dead-url=no }}</ref><ref>{{cite web |author=Mono Project |url=http://github.com/mono |title=Mono Project |publisher=GitHub |date= |accessdate=2018-06-04 |archive-url=https://web.archive.org/web/20180614230129/https://github.com/mono |archive-date=2018-06-14 |dead-url=no }}</ref>
* [[Mono]]<ref>{{cite web |url=http://mono-project.com/GitFAQ |title=GitFAQ - Mono |publisher=Mono-project.com |date= |accessdate=2018-06-04 |archive-url=https://web.archive.org/web/20180403051106/http://www.mono-project.com/GitFAQ/ |archive-date=2018-04-03 |dead-url=no }}</ref><ref>{{cite web |author=Mono Project |url=http://github.com/mono |title=Mono Project |publisher=GitHub |date= |accessdate=2018-06-04 |archive-url=https://web.archive.org/web/20180614230129/https://github.com/mono |archive-date=2018-06-14 |dead-url=no }}</ref>
* {{tsl|en|MooTools||MooTools}}
* {{tsl|en|MooTools||MooTools}}
* {{tsl|en|Penumbra: Overture||Penumbra: Overture}} <ref>{{cite web | url = http://github.com/FrictionalGames/PenumbraOverture | title = FrictionalGames' PenumbraOverture at master | work = GitHub | access-date = 2010-08-23 | archive-url = https://web.archive.org/web/20100610163851/http://github.com/FrictionalGames/PenumbraOverture | archive-date = 2010-06-10 | dead-url = no }}</ref><ref>{{cite web | url = http://frictionalgames.blogspot.com/2010/05/penumbra-overture-goes-open-source.html | title = Penumbra: Overture goes Open Source! | work = Frictional Games | access-date = 2010-08-23 | archive-url = https://web.archive.org/web/20100517083607/http://frictionalgames.blogspot.com/2010/05/penumbra-overture-goes-open-source.html | archive-date = 2010-05-17 | dead-url = no }}</ref>
* [[半影:序曲|Penumbra: Overture]] <ref>{{cite web | url = http://github.com/FrictionalGames/PenumbraOverture | title = FrictionalGames' PenumbraOverture at master | work = GitHub | access-date = 2010-08-23 | archive-url = https://web.archive.org/web/20100610163851/http://github.com/FrictionalGames/PenumbraOverture | archive-date = 2010-06-10 | dead-url = no }}</ref><ref>{{cite web | url = http://frictionalgames.blogspot.com/2010/05/penumbra-overture-goes-open-source.html | title = Penumbra: Overture goes Open Source! | work = Frictional Games | access-date = 2010-08-23 | archive-url = https://web.archive.org/web/20100517083607/http://frictionalgames.blogspot.com/2010/05/penumbra-overture-goes-open-source.html | archive-date = 2010-05-17 | dead-url = no }}</ref>
* [[Perl]]<ref>{{cite web | url = http://github.com/blog/276-perl-mirror-on-github | title = Perl Mirror on GitHub | work = GitHub blog | date = 23 December 2008 | first = Scott | last = Chacon | access-date = 2010-08-23 | archive-url = https://web.archive.org/web/20100106140257/http://github.com/blog/276-perl-mirror-on-github | archive-date = 2010-01-06 | dead-url = no }}</ref><ref>{{cite web | url = http://github.com/github/perl/tree/8d063cd8450e59ea1c611a2f4f5a21059a2804f1 | title = Perl's first commit | work = GitHub | first = Larry | last = Wall | date = 18 December 1987 }}{{dead link|date=2018年2月 |bot=InternetArchiveBot |fix-attempted=yes }}</ref>
* [[Perl]]<ref>{{cite web | url = http://github.com/blog/276-perl-mirror-on-github | title = Perl Mirror on GitHub | work = GitHub blog | date = 23 December 2008 | first = Scott | last = Chacon | access-date = 2010-08-23 | archive-url = https://web.archive.org/web/20100106140257/http://github.com/blog/276-perl-mirror-on-github | archive-date = 2010-01-06 | dead-url = no }}</ref><ref>{{cite web | url = http://github.com/github/perl/tree/8d063cd8450e59ea1c611a2f4f5a21059a2804f1 | title = Perl's first commit | work = GitHub | first = Larry | last = Wall | date = 18 December 1987 }}{{dead link|date=2018年2月 |bot=InternetArchiveBot |fix-attempted=yes }}</ref>
* [[PHP]]
* [[PHP]]
第123行: 第124行:
* [[Prey (软件)|Prey Project]]<ref>{{cite web | url = http://github.com/tomas/prey/tree/master | title = Tomas's prey at master | work = GitHub | access-date = 2010-08-23 | archive-url = https://web.archive.org/web/20090825034435/http://github.com/tomas/prey/tree/master | archive-date = 2009-08-25 | dead-url = no }}</ref>
* [[Prey (软件)|Prey Project]]<ref>{{cite web | url = http://github.com/tomas/prey/tree/master | title = Tomas's prey at master | work = GitHub | access-date = 2010-08-23 | archive-url = https://web.archive.org/web/20090825034435/http://github.com/tomas/prey/tree/master | archive-date = 2009-08-25 | dead-url = no }}</ref>
* [[Prototype JavaScript框架]]
* [[Prototype JavaScript框架]]
* [[Python]]
* {{tsl|en|RSpec||RSpec}}
* {{tsl|en|RSpec||RSpec}}
* {{tsl|en|Rubinius||Rubinius}}
* {{tsl|en|Rubinius||Rubinius}}
* [[Ruby]]
* [[Ruby]]
* [[Ruby on Rails]]<ref>{{cite web | url = http://wiki.rubyonrails.org/howtos/git | title = Git Version Control | work = Rails Wiki | accessdate = 2010-08-23 | archive-date = 2012-10-17 | archive-url = https://web.archive.org/web/20121017135503/http://wiki.rubyonrails.org/howtos/git | dead-url = yes }}</ref><ref>{{cite web | url = http://github.com/rails/rails/tree/master | title = rails's rails at master | work = GitHub | access-date = 2010-08-23 | archive-url = https://web.archive.org/web/20090903073755/http://github.com/rails/rails/tree/master | archive-date = 2009-09-03 | dead-url = no }}</ref>
* [[Ruby on Rails]]<ref>{{cite web | url = http://wiki.rubyonrails.org/howtos/git | title = Git Version Control | work = Rails Wiki | accessdate = 2010-08-23 | archive-date = 2012-10-17 | archive-url = https://web.archive.org/web/20121017135503/http://wiki.rubyonrails.org/howtos/git | dead-url = yes }}</ref><ref>{{cite web | url = http://github.com/rails/rails/tree/master | title = rails's rails at master | work = GitHub | access-date = 2010-08-23 | archive-url = https://web.archive.org/web/20090903073755/http://github.com/rails/rails/tree/master | archive-date = 2009-09-03 | dead-url = no }}</ref>
* [[Rust]]
* {{tsl|en|script.aculo.us||script.aculo.us}}
* {{tsl|en|script.aculo.us||script.aculo.us}}
* [[Sinatra (软件)|Sinatra]]<ref>{{cite web | url = http://www.sinatrarb.com | title = Sinatra | access-date = 2020-04-06 | archive-url = https://web.archive.org/web/20200227160848/http://sinatrarb.com/ | archive-date = 2020-02-27 | dead-url = no }}</ref>
* [[Sinatra (软件)|Sinatra]]<ref>{{cite web | url = http://www.sinatrarb.com | title = Sinatra | access-date = 2020-04-06 | archive-url = https://web.archive.org/web/20200227160848/http://sinatrarb.com/ | archive-date = 2020-02-27 | dead-url = no }}</ref>
第143行: 第146行:
在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个版本库。<ref>{{cite web | url = http://wiki.dandascalescu.com/essays/pita-threshold | title = The PITA Threshold: GitHub vs. CPAN | work = Dan Dascalescu's Wiki | first = Dan | last = Dascalescu | date = 3 November 2009 | access-date = 2010-08-23 | archive-url = https://web.archive.org/web/20110708224341/http://wiki.dandascalescu.com/essays/pita-threshold | archive-date = 2011-07-08 | dead-url = yes }}</ref>
在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个版本库。<ref>{{cite web | url = http://wiki.dandascalescu.com/essays/pita-threshold | title = The PITA Threshold: GitHub vs. CPAN | work = Dan Dascalescu's Wiki | first = Dan | last = Dascalescu | date = 3 November 2009 | access-date = 2010-08-23 | archive-url = https://web.archive.org/web/20110708224341/http://wiki.dandascalescu.com/essays/pita-threshold | archive-date = 2011-07-08 | dead-url = yes }}</ref>


在2010年6月,GitHub宣布它现在已经可提供1百万项目,它们中的60%是完整的版本库,但仍然有40%是“gist”或代码片段。2011年4月,GitHub宣称存放的代码库数量已达到2百万个<ref>{{cite web | url = https://github.com/blog/841-those-are-some-big-numbers | title = Those are some big numbers | work = GitHub blog | date = 20 April 2011 | access-date = 2014-01-15 | archive-url = https://web.archive.org/web/20140421213129/https://github.com/blog/841-those-are-some-big-numbers | archive-date = 2014-04-21 | dead-url = no }}</ref>2013年4月,GitHub用户数达到350万,代码库数量达到6百万个。<ref>{{cite web | url = http://www.zdnet.com/github-celebrates-fifth-birthday-3-5-million-users-and-six-million-repositories-7000013883/ | title = GitHub celebrates fifth birthday, 3.5 million users and six million repositories | work = ZDNet | date = 11 April 2013 | access-date = 2014-01-15 | archive-url = https://web.archive.org/web/20140116101613/http://www.zdnet.com/github-celebrates-fifth-birthday-3-5-million-users-and-six-million-repositories-7000013883/ | archive-date = 2014-01-16 | dead-url = no }}</ref>
在2010年6月,GitHub宣布它现在已经可提供1百万项目,它们中的60%是完整的版本库,但仍然有40%是“gist”或代码片段。2011年4月,GitHub宣称存放的代码库数量已达到2百万个<ref>{{cite web | url = https://github.com/blog/841-those-are-some-big-numbers | title = Those are some big numbers | work = GitHub blog | date = 20 April 2011 | access-date = 2014-01-15 | archive-url = https://web.archive.org/web/20140421213129/https://github.com/blog/841-those-are-some-big-numbers | archive-date = 2014-04-21 | dead-url = no }}</ref>2013年4月,GitHub用户数达到350万,代码库数量达到6百万个。<ref>{{cite web | url = http://www.zdnet.com/github-celebrates-fifth-birthday-3-5-million-users-and-six-million-repositories-7000013883/ | title = GitHub celebrates fifth birthday, 3.5 million users and six million repositories | work = ZDNet | date = 11 April 2013 | access-date = 2014-01-15 | archive-url = https://web.archive.org/web/20140116101613/http://www.zdnet.com/github-celebrates-fifth-birthday-3-5-million-users-and-six-million-repositories-7000013883/ | archive-date = 2014-01-16 | dead-url = no }}</ref>


== 融资 ==
== 融资 ==
*2012年,GitHub从Andreessen Horowitz筹集了1亿美元的资金,估值为7.5亿美元<ref name="GitHub">{{Cite web |url=https://www.mg21.com/github.html |title=微软公司旗下代码托管服务提供商:GitHub公司 |publisher=美股之家 |date=2021-05-25 |access-date=2021-05-25 |archive-date=2021-05-25 |archive-url=https://web.archive.org/web/20210525104204/https://www.mg21.com/github.html |dead-url=no }}</ref>。
*2012年,GitHub从Andreessen Horowitz筹集了1亿美元的资金,估值为7.5亿美元<ref name="GitHub">{{Cite web |url=https://www.mg21.com/github.html |title=微软公司旗下代码托管服务提供商:GitHub公司 |publisher=美股之家 |date=2021-05-25 |access-date=2021-05-25 |archive-date=2021-05-25 |archive-url=https://web.archive.org/web/20210525104204/https://www.mg21.com/github.html |dead-url=no }}</ref>。
*2015年7月29日,GitHub表示已在红杉资本(Sequoia Capital)领投的一轮融资中筹集了2.5亿美元。 那一轮的其他投资者包括Andreessen Horowitz,Thrive Capital和IVP(机构风险合伙人)。该轮融资对公司的估值约为20亿美元。<ref name="GitHub"/>
*2015年7月29日,GitHub表示已在[[红杉资本]](Sequoia Capital)领投的一轮融资中筹集了2.5亿美元。 那一轮的其他投资者包括Andreessen Horowitz,Thrive Capital和IVP(机构风险合伙人)。该轮融资对公司的估值约为20亿美元。<ref name="GitHub"/>
*2018年6月4日,[[微软]]宣布有意以75亿美元的价格收购GitHub。 该交易于2018年10月26日完成。GitHub继续作为社区,平台和业务独立运作。在Microsoft的领导下,该服务由Xamarin的Nat Friedman领导,并向Microsoft Cloud和AI执行副总裁Scott Guthrie汇报。 GitHub的首席执行官Chris Wanstrath被保留为“技术研究员”,并向Guthrie汇报。<ref name="GitHub"/>
*2018年6月4日,[[微软]]宣布有意以75亿美元的价格收购GitHub。 该交易于2018年10月26日完成。GitHub继续作为社区,平台和业务独立运作。在Microsoft的领导下,该服务由Xamarin的Nat Friedman领导,并向Microsoft Cloud和AI执行副总裁Scott Guthrie汇报。 GitHub的首席执行官Chris Wanstrath被保留为“技术研究员”,并向Guthrie汇报。<ref name="GitHub"/>


第155行: 第158行:
GitHub曾在中国、俄罗斯和[[印度]]等国被审查和封锁,雖然此網站是單純的技術社群一般較少具政治敏感訊息的議題,但相關代碼可用於開發突破网络审查等線上隱蔽軟體或者中间件;同时因其具有较方便的协作功能特性,因此有部分用于非代码的政治诉求或敏感内容,因此相关政府要求对于该种信息进行管制。GitHub在收到政府对某一仓库的管制请求时,会将公文公开在官方仓库[https://github.com/github/gov-takedowns github/gov-takedowns]{{Wayback|url=https://github.com/github/gov-takedowns |date=20210205134904 }}。<ref>{{Cite web|title=github/gov-takedowns/README.md|url=https://github.com/github/gov-takedowns/blob/master/README.md|accessdate=2020-04-15|author=|date=|format=|work=GitHub|publisher=|language=en|archive-date=2020-12-13|archive-url=https://web.archive.org/web/20201213213231/https://github.com/github/gov-takedowns/blob/master/README.md|dead-url=no}}</ref>
GitHub曾在中国、俄罗斯和[[印度]]等国被审查和封锁,雖然此網站是單純的技術社群一般較少具政治敏感訊息的議題,但相關代碼可用於開發突破网络审查等線上隱蔽軟體或者中间件;同时因其具有较方便的协作功能特性,因此有部分用于非代码的政治诉求或敏感内容,因此相关政府要求对于该种信息进行管制。GitHub在收到政府对某一仓库的管制请求时,会将公文公开在官方仓库[https://github.com/github/gov-takedowns github/gov-takedowns]{{Wayback|url=https://github.com/github/gov-takedowns |date=20210205134904 }}。<ref>{{Cite web|title=github/gov-takedowns/README.md|url=https://github.com/github/gov-takedowns/blob/master/README.md|accessdate=2020-04-15|author=|date=|format=|work=GitHub|publisher=|language=en|archive-date=2020-12-13|archive-url=https://web.archive.org/web/20201213213231/https://github.com/github/gov-takedowns/blob/master/README.md|dead-url=no}}</ref>


* 2013年1月20日,[[中国大陆]]政府的[[防火長城]]利用[[域名污染]]和關鍵詞過濾等手段封鎖GitHub<ref>{{cite news|url=http://nandu.oeeee.com/nis/201301/23/6267.html|title=程序员叫苦 李开复质疑|date=2013-01-23|publisher=南方都市报|accessdate=2013-01-23|deadurl=yes|archiveurl=https://web.archive.org/web/20130126133757/http://nandu.oeeee.com/nis/201301/23/6267.html|archivedate=2013-01-26}}</ref><ref>{{cite news |url=http://www.scmp.com/news/china/article/1134717/programmers-angry-over-blocking-github-code-sharing-site |title=Programmers angry over blocking of GitHub code-sharing site |date=2013-01-24 |publisher=南华早报 |accessdate=2013-01-24 |archive-url=https://web.archive.org/web/20130126212832/http://www.scmp.com/news/china/article/1134717/programmers-angry-over-blocking-github-code-sharing-site |archive-date=2013-01-26 |dead-url=no }}</ref>23日,GitHub被解封,事件平息。
* 2013年1月20日,[[中国大陆]]政府的[[防火長城]]利用[[域名污染]]和關鍵詞過濾等手段封鎖GitHub<ref>{{cite news|url=http://nandu.oeeee.com/nis/201301/23/6267.html|title=程序员叫苦 李开复质疑|date=2013-01-23|publisher=南方都市报|accessdate=2013-01-23|deadurl=yes|archiveurl=https://web.archive.org/web/20130126133757/http://nandu.oeeee.com/nis/201301/23/6267.html|archivedate=2013-01-26}}</ref><ref>{{cite news |url=http://www.scmp.com/news/china/article/1134717/programmers-angry-over-blocking-github-code-sharing-site |title=Programmers angry over blocking of GitHub code-sharing site |date=2013-01-24 |publisher=南华早报 |accessdate=2013-01-24 |archive-url=https://web.archive.org/web/20130126212832/http://www.scmp.com/news/china/article/1134717/programmers-angry-over-blocking-github-code-sharing-site |archive-date=2013-01-26 |dead-url=no }}</ref>23日,GitHub被解封,事件平息。
* 2013年1月26日,有中国大陆的用户在访问GitHub时发现证书无效,经检查发现,GitHub的证书变为了一自签署的X.509证书,生成时间为2013年1月25日14时29分12秒,有效期一年,故有人推测GitHub疑似遭到了[[中间人攻击]]。攻击持续了约一个小时后停止,访问恢复正常。<ref>{{cite news |url=http://www.solidot.org/story?sid=33284 |title=中国国家防火墙对GitHub进行了中间人攻击 |date=2013-01-26 |publisher=solidot |accessdate=2013-01-26 |deadurl=yes |archiveurl=https://web.archive.org/web/20130128122326/http://www.solidot.org/story?sid=33284 |archivedate=2013-01-28 }}</ref><ref>{{cite news|url=https://zh.greatfire.org/blog/2013/jan/china-github-and-man-middle|title=中国, GitHub和中间人攻击|date=2013-01-30|publisher=greatfire|accessdate=2013-01-30|archive-url=https://web.archive.org/web/20130614013027/https://zh.greatfire.org/blog/2013/jan/china-github-and-man-middle|archive-date=2013-06-14|dead-url=no}}</ref>
* 2013年1月26日,有中国大陆的用户在访问GitHub时发现证书无效,经检查发现,GitHub的证书变为了一自签署的X.509证书,生成时间为2013年1月25日14时29分12秒,有效期一年,故有人推测GitHub疑似遭到了[[中间人攻击]]。攻击持续了约一个小时后停止,访问恢复正常。<ref>{{cite news |url=http://www.solidot.org/story?sid=33284 |title=中国国家防火墙对GitHub进行了中间人攻击 |date=2013-01-26 |publisher=solidot |accessdate=2013-01-26 |deadurl=yes |archiveurl=https://web.archive.org/web/20130128122326/http://www.solidot.org/story?sid=33284 |archivedate=2013-01-28 }}</ref><ref>{{cite news|url=https://zh.greatfire.org/blog/2013/jan/china-github-and-man-middle|title=中国, GitHub和中间人攻击|date=2013-01-30|publisher=greatfire|accessdate=2013-01-30|archive-url=https://web.archive.org/web/20130614013027/https://zh.greatfire.org/blog/2013/jan/china-github-and-man-middle|archive-date=2013-06-14|dead-url=no}}</ref>
* 2014年12月3日,GitHub因用户发布自杀教学内容而被俄罗斯封锁。<ref>{{cite web|url=http://techcrunch.com/2014/12/03/github-russia/|title=Russia Blacklists, Blocks GitHub Over Pages That Refer To Suicide|access-date=2016-07-02|archive-url=https://web.archive.org/web/20160531221502/http://techcrunch.com/2014/12/03/github-russia/|archive-date=2016-05-31|dead-url=no}}</ref>
* 2014年12月3日,GitHub因用户发布自杀教学内容而被俄罗斯封锁。<ref>{{cite web|url=http://techcrunch.com/2014/12/03/github-russia/|title=Russia Blacklists, Blocks GitHub Over Pages That Refer To Suicide|access-date=2016-07-02|archive-url=https://web.archive.org/web/20160531221502/http://techcrunch.com/2014/12/03/github-russia/|archive-date=2016-05-31|dead-url=no}}</ref>
* 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|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>
* 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><!--未见此攻击和网络审查相关。-->
*2021年2月末至今<ref>{{cite web|title=Blocky|url=https://blocky.greatfire.org/detail/13632/https%3A%2F%2Fgithub.com|website=[[Greatfire]]|date=2021-12-31|dead-url=no|access-date=2021-12-31|archive-date=2022-04-08|archive-url=https://web.archive.org/web/20220408083134/https://blocky.greatfire.org/detail/13632/https%3A%2F%2Fgithub.com}}</ref>,中国大陆开始对 <code>*.github.com</code>,以及<code>raw.githubusercontent.com</code>的域名进行“间歇性”的屏蔽。
*2021年2月末至今<ref>{{cite web|title=Blocky|url=https://blocky.greatfire.org/detail/13632/https%3A%2F%2Fgithub.com|website=[[Greatfire]]|date=2021-12-31|dead-url=no|access-date=2021-12-31|archive-date=2022-04-08|archive-url=https://web.archive.org/web/20220408083134/https://blocky.greatfire.org/detail/13632/https%3A%2F%2Fgithub.com}}</ref>,中国大陆开始对 <code>*.github.com</code>,以及<code>raw.githubusercontent.com</code>的域名进行“间歇性”的屏蔽。


=== GitHub限制用戶與專案 ===
=== GitHub限制用戶與專案 ===
* 2019年5月,GitHub更新了用户协议,表明GitHub的产品和服务适用于美国出口管制法律<ref>{{Cite web |url = http://news.mydrivers.com/1/627/627904.htm |title = Github更新用户协议 开源代码也要受美国出口管制 |author = 宪瑞 |date = 2019-05-21 |publisher = 快科技 |language = zh-cn |accessdate = 2019-05-21 |archive-url = https://web.archive.org/web/20190523185254/http://news.mydrivers.com/1/627/627904.htm |archive-date = 2019-05-23 |dead-url = no }}</ref>。
* 2019年5月,GitHub更新了用户协议,表明GitHub的产品和服务适用于美国出口管制法律<ref>{{Cite web |url = http://news.mydrivers.com/1/627/627904.htm |title = Github更新用户协议 开源代码也要受美国出口管制 |author = 宪瑞 |date = 2019-05-21 |publisher = 快科技 |language = zh-cn |accessdate = 2019-05-21 |archive-url = https://web.archive.org/web/20190523185254/http://news.mydrivers.com/1/627/627904.htm |archive-date = 2019-05-23 |dead-url = no }}</ref>。
* 2019年7月起,GitHub基于美国出口管理条例,开始对[[伊朗]]、[[叙利亚]]和克里米亚的私人repo和付费账户实施限制<ref>{{Cite web |url = https://mp.weixin.qq.com/s/JB4TyNRSMVJ5I39rDDBWeg |title = 美国对外实行制裁,致多个地区 GitHub 账号使用受限! |author = GitHubDaily |date = 2019-07-26 |publisher = GitHubDaily |language = zh-cn |accessdate = 2019-08-01 |archive-url = https://web.archive.org/web/20190801035629/https://mp.weixin.qq.com/s/JB4TyNRSMVJ5I39rDDBWeg |archive-date = 2019-08-01 |dead-url = no }}</ref><ref>{{Cite web |url = https://mp.weixin.qq.com/s/ykXvqYJmic7to6vXkkQTng |title = GitHub CEO 正式回应账号访问受限事件! |author = GitHubDaily |date = 2019-07-29 |publisher = GitHubDaily |language = zh-cn |accessdate = 2019-08-01 |archive-url = https://web.archive.org/web/20190801035633/https://mp.weixin.qq.com/s/ykXvqYJmic7to6vXkkQTng |archive-date = 2019-08-01 |dead-url = no }}</ref><ref>{{Cite web |url = https://www.leiphone.com/news/201907/VYfal74uBwvwixdF.html |title = 令人心寒的不是 Github 突然断供,而是 CEO 对此表示无能为力 |author = 黄善清 |date = 2019-07-29 |publisher = 雷锋网 |language = zh-cn |accessdate = 2019-08-01 |archive-url = https://web.archive.org/web/20190801035633/https://www.leiphone.com/news/201907/VYfal74uBwvwixdF.html |archive-date = 2019-08-01 |dead-url = no }}</ref>,2020年4月起一個名為Aurelia的軟體代碼被GitHub封鎖引起較大紛爭,其理由為參與的兩個志願者為伊朗人,引起該程式諸多志願者不滿並於硅谷的「 黑客新闻 」论坛大舉批判,後續GitHub改變作法重新啟動Aurelia頁面但封鎖兩個伊朗人帳號,之前並發生過一名為Hamed Saeed的開發者已經移民[[芬蘭]]多年但祖籍為伊朗而被封鎖的事件<ref>{{Cite web |url=https://www.leiphone.com/news/202003/AyU4SvQ694SpVs1b.html |title=雷鋒站-GitHub是开源,最终也是政治 |accessdate=2020-04-10 |archive-date=2020-12-13 |archive-url=https://web.archive.org/web/20201213213457/https://www.leiphone.com/news/202003/AyU4SvQ694SpVs1b.html |dead-url=no }}</ref>此事件引發一個後續討論,美國訂定的制裁他國法案僅限於不讓特定外國人使用美國技術,然而GitHub上的技術是各國志願者撰寫並無償分享,並非美國購買有版權的所有物<ref>{{Cite web |url=https://github.com/mohebifar/made-in-iran |title=mohebifar /made-in-iran |accessdate=2020-04-10 |archive-date=2020-12-13 |archive-url=https://web.archive.org/web/20201213213501/https://github.com/mohebifar/made-in-iran |dead-url=no }}</ref>其中也包含伊朗程式員也就是其實有伊朗的技術,美國無權拿不屬於自己的東西制裁別人甚至「拿伊朗的技術制裁伊朗」。GitHub最后在爭議下覺得有所理虧而改變作法,被封禁的用户可以下載回自己的作品,但依然不能在社区里查看代码。<ref>{{Cite web |url=https://user.guancha.cn/main/content?id=283869 |title=觀察者網-因为两位志愿者来自伊朗 |accessdate=2020-04-10 |archive-date=2020-12-13 |archive-url=https://web.archive.org/web/20201213213521/https://user.guancha.cn/main/content?id=283869 |dead-url=no }}</ref><ref>{{Cite web |url=https://www.chainnews.com/zh-hant/articles/293428053482.htm |title=GitHub惹衆怒,CEO 親自道歉 |accessdate=2020-04-10 |archive-date=2020-09-03 |archive-url=https://web.archive.org/web/20200903050336/https://www.chainnews.com/zh-hant/articles/293428053482.htm |dead-url=no }}</ref>
* 2019年7月起,GitHub基于美国出口管理条例,开始对[[伊朗]]、[[叙利亚]]和克里米亚的私人repo和付费账户实施限制<ref>{{Cite web |url = https://mp.weixin.qq.com/s/JB4TyNRSMVJ5I39rDDBWeg |title = 美国对外实行制裁,致多个地区 GitHub 账号使用受限! |author = GitHubDaily |date = 2019-07-26 |publisher = GitHubDaily |language = zh-cn |accessdate = 2019-08-01 |archive-url = https://web.archive.org/web/20190801035629/https://mp.weixin.qq.com/s/JB4TyNRSMVJ5I39rDDBWeg |archive-date = 2019-08-01 |dead-url = no }}</ref><ref>{{Cite web |url = https://mp.weixin.qq.com/s/ykXvqYJmic7to6vXkkQTng |title = GitHub CEO 正式回应账号访问受限事件! |author = GitHubDaily |date = 2019-07-29 |publisher = GitHubDaily |language = zh-cn |accessdate = 2019-08-01 |archive-url = https://web.archive.org/web/20190801035633/https://mp.weixin.qq.com/s/ykXvqYJmic7to6vXkkQTng |archive-date = 2019-08-01 |dead-url = no }}</ref><ref>{{Cite web |url = https://www.leiphone.com/news/201907/VYfal74uBwvwixdF.html |title = 令人心寒的不是 Github 突然断供,而是 CEO 对此表示无能为力 |author = 黄善清 |date = 2019-07-29 |publisher = 雷锋网 |language = zh-cn |accessdate = 2019-08-01 |archive-url = https://web.archive.org/web/20190801035633/https://www.leiphone.com/news/201907/VYfal74uBwvwixdF.html |archive-date = 2019-08-01 |dead-url = no }}</ref>,2020年4月起一個名為Aurelia的軟體代碼被GitHub封鎖引起較大紛爭,其理由為參與的兩個志願者為伊朗人,引起該程式諸多志願者不滿並於硅谷的「 黑客新闻 」论坛大舉批判,後續GitHub改變作法重新啟動Aurelia頁面但封鎖兩個伊朗人帳號,之前並發生過一名為Hamed Saeed的開發者已經移民[[芬蘭]]多年但祖籍為伊朗而被封鎖的事件<ref>{{Cite web |url=https://www.leiphone.com/news/202003/AyU4SvQ694SpVs1b.html |title=雷鋒站-GitHub是开源,最终也是政治 |accessdate=2020-04-10 |archive-date=2020-12-13 |archive-url=https://web.archive.org/web/20201213213457/https://www.leiphone.com/news/202003/AyU4SvQ694SpVs1b.html |dead-url=no }}</ref>此事件引發一個後續討論,美國訂定的制裁他國法案僅限於不讓特定外國人使用美國技術,然而GitHub上的技術是各國志願者撰寫並無償分享,並非美國購買有版權的所有物<ref>{{Cite web |url=https://github.com/mohebifar/made-in-iran |title=mohebifar /made-in-iran |accessdate=2020-04-10 |archive-date=2020-12-13 |archive-url=https://web.archive.org/web/20201213213501/https://github.com/mohebifar/made-in-iran |dead-url=no }}</ref>其中也包含伊朗程式員也就是其實有伊朗的技術,美國無權拿不屬於自己的東西制裁別人甚至「拿伊朗的技術制裁伊朗」。GitHub最后在爭議下覺得有所理虧而改變作法,被封禁的用户可以下載回自己的作品,但依然不能在社区里查看代码。<ref>{{Cite web |url=https://user.guancha.cn/main/content?id=283869 |title=觀察者網-因为两位志愿者来自伊朗 |accessdate=2020-04-10 |archive-date=2020-12-13 |archive-url=https://web.archive.org/web/20201213213521/https://user.guancha.cn/main/content?id=283869 |dead-url=no }}</ref><ref>{{Cite web |url=https://www.chainnews.com/zh-hant/articles/293428053482.htm |title=GitHub惹衆怒,CEO 親自道歉 |accessdate=2020-04-10 |archive-date=2020-09-03 |archive-url=https://web.archive.org/web/20200903050336/https://www.chainnews.com/zh-hant/articles/293428053482.htm |dead-url=no }}</ref>
*2020年10月23日,美国唱片业协会(RIAA)根据《[[数字千年版权法案|数字千年著作权法案]]》(DMCA)向GitHub发布了删除通知,其中要求删除youtube-dl及其[[分叉 (软件开发)|分支]]。GitHub接受了请求,移除了该项目。2020年11月16日,[[电子前哨基金会]]正式向GitHub发送了一份质疑移除请求的信,澄清了该软件并没有规避任何著作权保护措施<ref>{{Cite web |url=https://www.eff.org/document/eff-letter-github-youtube-dl-takedown |title=EFF letter to GitHub on youtube-dl Takedown |accessdate=2020-11-17 |dead-url=no |archive-date=2021-07-19 |archive-url=https://web.archive.org/web/20210719223851/https://www.eff.org/document/eff-letter-github-youtube-dl-takedown }}</ref>随后GitHub恢复了该存储库。GitHub还在官方博客中宣布,未来将由技术和法律专家组成的团队逐项审查所有涉及《数字千年著作权法案》第1201节的移除请求。<ref>{{Cite web |url=https://github.blog/2020-11-16-standing-up-for-developers-youtube-dl-is-back/ |title=Standing up for developers: youtube-dl is back |accessdate=2020-11-16 |archive-date=2021-07-10 |archive-url=https://web.archive.org/web/20210710213639/https://github.blog/2020-11-16-standing-up-for-developers-youtube-dl-is-back/ |dead-url=no }}</ref>
*2020年10月23日,美国唱片业协会(RIAA)根据《[[数字千年版权法案|数字千年著作权法案]]》(DMCA)向GitHub发布了删除通知,其中要求删除youtube-dl及其[[分叉 (软件开发)|分支]]。GitHub接受了请求,移除了该项目。2020年11月16日,[[电子前哨基金会]]正式向GitHub发送了一份质疑移除请求的信,澄清了该软件并没有规避任何著作权保护措施<ref>{{Cite web |url=https://www.eff.org/document/eff-letter-github-youtube-dl-takedown |title=EFF letter to GitHub on youtube-dl Takedown |accessdate=2020-11-17 |dead-url=no |archive-date=2021-07-19 |archive-url=https://web.archive.org/web/20210719223851/https://www.eff.org/document/eff-letter-github-youtube-dl-takedown }}</ref>随后GitHub恢复了该存储库。GitHub还在官方博客中宣布,未来将由技术和法律专家组成的团队逐项审查所有涉及《数字千年著作权法案》第1201节的移除请求。<ref>{{Cite web |url=https://github.blog/2020-11-16-standing-up-for-developers-youtube-dl-is-back/ |title=Standing up for developers: youtube-dl is back |accessdate=2020-11-16 |archive-date=2021-07-10 |archive-url=https://web.archive.org/web/20210710213639/https://github.blog/2020-11-16-standing-up-for-developers-youtube-dl-is-back/ |dead-url=no }}</ref>


=== 著作權爭議 ===
=== 著作權爭議 ===
2022年6月,[[軟體自由保護組織]]呼籲開發者「放棄GitHub」<ref>{{cite web|url=https://sfconservancy.org/GiveUpGitHub/|title=Give Up GitHub|website=Software Freedom Conservancy|date=2022-06-29|language=en|accessdate=2022-11-17}}</ref>,原因是他們相信[[GitHub Copilot]]的[[机器学习|訓練]]過程涉及[[著作權]]爭議。
2022年6月,[[軟體自由保護組織]]呼籲開發者「放棄GitHub」<ref>{{cite web|url=https://sfconservancy.org/GiveUpGitHub/|title=Give Up GitHub|website=Software Freedom Conservancy|date=2022-06-29|language=en|accessdate=2022-11-17|archive-date=2022-12-28|archive-url=https://web.archive.org/web/20221228032624/https://sfconservancy.org/GiveUpGitHub/|dead-url=no}}</ref>,原因是他們相信[[GitHub Copilot]]的[[机器学习|訓練]]過程涉及[[著作權]]爭議。


== 趣聞 ==
== 趣聞 ==
第213行: 第216行:
[[Category:开源软件托管网站]]
[[Category:开源软件托管网站]]
[[Category:微軟網站]]
[[Category:微軟網站]]
[[Category:美国网站]]

2024年5月15日 (三) 00:10的版本

GitHub
公司类型子公司
网站类型
Git版本库托管
语言英文
成立2008年2月,​16年前​(2008-02
總部
業務範圍全球
持有者微軟
创立者
首席执行官Thomas Dohmke
代表人物
  • Erica Brescia (COO)
  • Carrie Olesen (CHRO)
  • Mike Taylor (CFO)
产业软件
代码库
社群
员工1,079[1]
母公司微软
网址github.com
商业性质
注册可选(建立和参与项目时需要)
用户1亿(2023年1月)
现状在线
編程語言Ruby

GitHub是一个在线软件源代码托管服务平台,使用Git作为版本控制软件,由开发者克里斯·汪斯崔斯英语Chris WanstrathP·J·海特英语P. J. Hyett汤姆·普雷斯顿·沃纳使用Ruby on Rails编写而成。在2018年,GitHub被微软公司收购。[2][3][4]

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

截至2022年6月,GitHub已经有超过5700万注册用户[6]和1.9亿代码库(包括至少2800万开源代码库)[7],事实上已经成为了世界上最大的代码托管网站和开源社区[8]。截至2023年1月26日,已经有超过1亿开发人员使用GitHub。[9]

服务

GitHub

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

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

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

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

开发语言

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

主要功能

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

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

仓库许可证

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

GitHub Enterprise

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

GitHub Pages

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

Gist

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

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

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

Student Developer Pack

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

使用GitHub的项目

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

统计

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

在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个版本库。[42]

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

融资

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

事件

对GitHub的封锁

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

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

GitHub限制用戶與專案

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

著作權爭議

2022年6月,軟體自由保護組織呼籲開發者「放棄GitHub」[76],原因是他們相信GitHub Copilot訓練過程涉及著作權爭議。

趣聞

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

参考资料

  1. ^ GitHub Diversity. GitHub. [2019-05-19]. (原始内容存档于2019-05-19). 
  2. ^ Dave Lee. Microsoft buys Github code-sharing site for $7.5bn. BBC News. 2018-06-04 [2018-06-06]. (原始内容存档于2018-06-06) (英语). 
  3. ^ defunkt. A bright future for GitHub. The GitHub Blog. 2018-06-04 [2018-06-06]. (原始内容存档于2018-06-06) (英语). 
  4. ^ Satya Nadella. Microsoft + GitHub = Empowering Developers. The Official Microsoft Blog. 2018-06-04 [2018-06-06]. (原始内容存档于2018-06-06) (英语). 
  5. ^ Git User's Survey 2009. Survs.com. [2018-06-04]. (原始内容存档于2018-02-21). 
  6. ^ User search. GitHub. [20220-06-08]. (原始内容存档于2019-10-16) (英语). Showing 28,337,706 available users 
  7. ^ Celebrating nine years of GitHub with an anniversary sale. github.com. Github. [April 11, 2017]. (原始内容存档于2017-04-28). 
  8. ^ 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. 
  9. ^ Dohmke, Thomas. 100 million developers and counting. The GitHub Blog. 2023-01-25 [2023-02-05]. (原始内容存档于2023-05-26) (美国英语). 
  10. ^ 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 
  11. ^ Preston-Werner, Tom. GitHub Turns One!. GitHub. 19 October 2008 [2014-03-28]. (原始内容存档于2014-04-21). 
  12. ^ Catone, Josh. GitHub Gist is Pastie on Steroids. 24 July 2008 [2015-07-02]. (原始内容存档于2015-07-02). 
  13. ^ 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). 
  14. ^ . GitHub https://help.github.com/en/github/getting-started-with-github/faq-about-changes-to-githubs-plans. 2020-04-14 [2020-04-15]. (原始内容存档于2020-04-15).  已忽略未知参数|[失效連結] title= (帮助); 缺少或|title=为空 (帮助)
  15. ^ Interview with Chris Wanstrath. Doeswhat.com. 2012-03-06 [2013-02-26]. (原始内容存档于2013-03-05). 
  16. ^ Weinhoffer, Eric. GitHub Now Supports STL File Viewing. 2013-04-09 [2015-07-02]. (原始内容存档于2015-07-01). 
  17. ^ Introducing GitHub Enterprise. GitHub. [13 July 2014]. (原始内容存档于2016-03-24). 
  18. ^ GitHub Pages. The GitHub Blog. 2008-12-18 [2020-03-29]. (原始内容存档于2020-03-29) (美国英语). 
  19. ^ 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 
  20. ^ 翻墙 | iaskfq:小组长的2014. 中国数字时代. [2016-01-07]. (原始内容存档于2016-02-09). 
  21. ^ 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.
  22. ^ Cara Mudah Mendapatkan GitHub Student Developer Pack. Christiandro. [2021-12-03]. (原始内容存档于2022-04-17) (印度尼西亚语). 
  23. ^ Working With Git. Avogadro. [2010-08-23]. (原始内容存档于2010-09-09). 
  24. ^ cryos's avogadro at master. GitHub. [2010-08-23]. (原始内容存档于2009-05-27). 
  25. ^ Wanstrath, Chris. jQuery!. GitHub blog. 29 October 2009 [2010-08-23]. (原始内容存档于2010-02-14). 
  26. ^ 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). 
  27. ^ Smart, Chris. Miscellaneous News. DistroWatch Weekly. 27 July 2009, (313) [2010-08-23]. (原始内容存档于2010-01-13). 
  28. ^ GitFAQ - Mono. Mono-project.com. [2018-06-04]. (原始内容存档于2018-04-03). 
  29. ^ Mono Project. Mono Project. GitHub. [2018-06-04]. (原始内容存档于2018-06-14). 
  30. ^ FrictionalGames' PenumbraOverture at master. GitHub. [2010-08-23]. (原始内容存档于2010-06-10). 
  31. ^ Penumbra: Overture goes Open Source!. Frictional Games. [2010-08-23]. (原始内容存档于2010-05-17). 
  32. ^ Chacon, Scott. Perl Mirror on GitHub. GitHub blog. 23 December 2008 [2010-08-23]. (原始内容存档于2010-01-06). 
  33. ^ Wall, Larry. Perl's first commit. GitHub. 18 December 1987. [永久失效連結]
  34. ^ phpBB moves source code versioning from Subversion to Git. phpBB. [2010-08-23]. (原始内容存档于2010-09-24). 
  35. ^ Tomas's prey at master. GitHub. [2010-08-23]. (原始内容存档于2009-08-25). 
  36. ^ Git Version Control. Rails Wiki. [2010-08-23]. (原始内容存档于2012-10-17). 
  37. ^ rails's rails at master. GitHub. [2010-08-23]. (原始内容存档于2009-09-03). 
  38. ^ Sinatra. [2020-04-06]. (原始内容存档于2020-02-27). 
  39. ^ sproutcore. GitHub. [2010-08-23]. (原始内容存档于2010-03-16). 
  40. ^ collaborativetrust's WikiTrust at master. GitHub. [2010-08-23]. (原始内容存档于2010-01-07). 
  41. ^ Wanstrath, Chris. Hotkeys and Wikis. GitHub. 18 February 2008 [2010-08-23]. (原始内容存档于2010-02-14). 
  42. ^ Dascalescu, Dan. The PITA Threshold: GitHub vs. CPAN. Dan Dascalescu's Wiki. 3 November 2009 [2010-08-23]. (原始内容存档于2011-07-08). 
  43. ^ Those are some big numbers. GitHub blog. 20 April 2011 [2014-01-15]. (原始内容存档于2014-04-21). 
  44. ^ GitHub celebrates fifth birthday, 3.5 million users and six million repositories. ZDNet. 11 April 2013 [2014-01-15]. (原始内容存档于2014-01-16). 
  45. ^ 45.0 45.1 45.2 微软公司旗下代码托管服务提供商:GitHub公司. 美股之家. 2021-05-25 [2021-05-25]. (原始内容存档于2021-05-25). 
  46. ^ github/gov-takedowns/README.md. GitHub. [2020-04-15]. (原始内容存档于2020-12-13) (英语). 
  47. ^ 程序员叫苦 李开复质疑. 南方都市报. 2013-01-23 [2013-01-23]. (原始内容存档于2013-01-26). 
  48. ^ Programmers angry over blocking of GitHub code-sharing site. 南华早报. 2013-01-24 [2013-01-24]. (原始内容存档于2013-01-26). 
  49. ^ 中国国家防火墙对GitHub进行了中间人攻击. solidot. 2013-01-26 [2013-01-26]. (原始内容存档于2013-01-28). 
  50. ^ 中国, GitHub和中间人攻击. greatfire. 2013-01-30 [2013-01-30]. (原始内容存档于2013-06-14). 
  51. ^ Russia Blacklists, Blocks GitHub Over Pages That Refer To Suicide. [2016-07-02]. (原始内容存档于2016-05-31). 
  52. ^ 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). 
  53. ^ 53.0 53.1 Large Scale DDoS Attack on github.com. GitHub's blog. March 27, 2015 [2015-03-31]. (原始内容存档于2015-03-28) (英语). 
  54. ^ 对GitHub的大规模DDoS攻击已超过80个小时. 奇客Solidot. 2015-03-30 [2015-03-30]. (原始内容存档于2015-03-31) (中文(中国大陆)). 
  55. ^ 陳曉莉. GitHub遭遇史上最大規模DDoS攻擊,反中國網路防火牆專案被鎖定. 台灣iThome. 2015-03-30 [2015-03-30]. (原始内容存档于2015-03-31) (中文(臺灣)). 
  56. ^ 海寧. 中共借刀杀人 利用海外华人发起DDoS攻击. 大紀元新聞網. 2015-03-27 [2015-03-30]. (原始内容存档于2015-03-30) (中文(简体)). 
  57. ^ 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). (英文)
  58. ^ GoAgent开发者删除项目,GitHub再次受到DDoS攻击. Solidot. 2015-08-25 [2016-01-07]. (原始内容存档于2016-03-06). (简体中文)
  59. ^ Catalin Cimpanu. Recent GitHub DDOS Linked to Chinese Government and Two GitHub Projects. Softpedia. 2015-08-29 [2016-01-15]. (原始内容存档于2016-05-06). (英文)
  60. ^ 吳嬙. 开源“赵家人”名单,GitHub激怒中国网安协会首出拳. 端传媒. 2016-06-28 [2020-01-13]. (原始内容存档于2020-03-27). 
  61. ^ 有攻击者正发动中间人攻击 GitHub和京东受影响最大 - 安全. cnBeta.COM. [2020-03-26]. (原始内容存档于2020-03-26) (中文(中国大陆)). 
  62. ^ (动态更新中) 有黑客正在通过国内骨干网络发动大规模的中间人攻击|蓝点网. www.landiannews.com. [2020-03-28]. (原始内容存档于2020-03-27). 
  63. ^ 一些网站https证书出现问题的情况分析. 360 Netlab Blog. 2020-03-28 [2020-04-06]. (原始内容存档于2020-04-01) (中文(中国大陆)). 
  64. ^ GitHub 遭遇中间人攻击,访问报证书错误. OSCHINA. 2020-03-27 [2020-03-27]. (原始内容存档于2020-03-27). 
  65. ^ Blocky. Greatfire. 2021-12-31 [2021-12-31]. (原始内容存档于2022-04-08). 
  66. ^ 宪瑞. Github更新用户协议 开源代码也要受美国出口管制. 快科技. 2019-05-21 [2019-05-21]. (原始内容存档于2019-05-23) (中文(中国大陆)). 
  67. ^ GitHubDaily. 美国对外实行制裁,致多个地区 GitHub 账号使用受限!. GitHubDaily. 2019-07-26 [2019-08-01]. (原始内容存档于2019-08-01) (中文(中国大陆)). 
  68. ^ GitHubDaily. GitHub CEO 正式回应账号访问受限事件!. GitHubDaily. 2019-07-29 [2019-08-01]. (原始内容存档于2019-08-01) (中文(中国大陆)). 
  69. ^ 黄善清. 令人心寒的不是 Github 突然断供,而是 CEO 对此表示无能为力. 雷锋网. 2019-07-29 [2019-08-01]. (原始内容存档于2019-08-01) (中文(中国大陆)). 
  70. ^ 雷鋒站-GitHub是开源,最终也是政治. [2020-04-10]. (原始内容存档于2020-12-13). 
  71. ^ mohebifar /made-in-iran. [2020-04-10]. (原始内容存档于2020-12-13). 
  72. ^ 觀察者網-因为两位志愿者来自伊朗. [2020-04-10]. (原始内容存档于2020-12-13). 
  73. ^ GitHub惹衆怒,CEO 親自道歉. [2020-04-10]. (原始内容存档于2020-09-03). 
  74. ^ EFF letter to GitHub on youtube-dl Takedown. [2020-11-17]. (原始内容存档于2021-07-19). 
  75. ^ Standing up for developers: youtube-dl is back. [2020-11-16]. (原始内容存档于2021-07-10). 
  76. ^ Give Up GitHub. Software Freedom Conservancy. 2022-06-29 [2022-11-17]. (原始内容存档于2022-12-28) (英语). 
  77. ^ 陳曉莉. GitHub開源社群大調查:多數只會寫程式不會寫文件、性別嚴重失衡. iThome. 2017-06-05 [2018-06-14]. (原始内容存档于2018-06-15) (中文(臺灣)). 
  78. ^ 火柴Q. 互联网巨头终极战场:得开发者得天下. iThome. 2017-06-13 [2018-06-14]. (原始内容存档于2018-06-15) (中文(中国大陆)). 

参考文献

外部链接

參見