<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>allengu93 (codefever)</title>
    <link>http://beta.w2solo.com/allengu93</link>
    <description></description>
    <language>en-us</language>
    <item>
      <title>你的代码放在 GitHub 上，真的安全吗？</title>
      <description>&lt;p&gt;受俄乌冲突的影响，GitHub 目前正在考虑限制俄罗斯开发人员访问开源代码存储库的可能性。无独有偶，早在 2019 年，GitHub 就曾经因为美国出台贸易制裁国家名单，对名单上的国家/地区的用户进行过 “封杀”。&lt;/p&gt;

&lt;p&gt;&lt;img src="https://img.way2solo.com/photo/allengu93/ea451992-1f05-49f0-a75a-7ad6e4cfd17a.png?imageView2/2/w/1920/q/100" title="" alt=""&gt;&lt;/p&gt;

&lt;p&gt;2019 年 7 月，微软旗下的 GitHub“限制” 住在乌克兰克里米亚地区的一名开发人员的帐户。这名开发人员利用 GitHub 服务来托管其网站和游戏软件。&lt;/p&gt;

&lt;p&gt;GitHub 告诉住在克里米亚的 21 岁俄罗斯公民 Anatoliy Kashkin，“由于美国贸易管制”，GitHub“限制” 了他的帐户。Kashkin 称，GitHub 给他看了关于美国贸易管制的页面，该页面显示将克里米亚、古巴、伊朗、朝鲜和叙利亚列为面临美国制裁的国家或地区。&lt;/p&gt;

&lt;p&gt;&lt;img src="https://img.way2solo.com/photo/allengu93/dec40f00-3097-457c-9527-bcd4a0db959e.png?imageView2/2/w/1920/q/100" title="" alt=""&gt;&lt;/p&gt;

&lt;p&gt;随后，他托管在 GitHub 上的网站返回 404 错误信息，同时也无法创建新的私有 GitHub 存储库或访问它们。
2022年3月3日，GitHub CEO Thomas Dohmke 发布《我们对乌克兰境内战争作出的响应》一文。原文贴到文末。&lt;/p&gt;

&lt;p&gt;&lt;img src="https://img.way2solo.com/photo/allengu93/317396da-51d7-4a7f-9c10-d0ea9bbc9e2a.png?imageView2/2/w/1920/q/100" title="" alt=""&gt;&lt;/p&gt;

&lt;p&gt;其中提到：“与此同时，我们正在采取行动以支持我们的平台，并遵守您可能看到的因这场战争而颁布的许多政府规定。我们的法务团队会彻底细读这类规定，而且我们遵守不断变化的出口管制和贸易法规。这包括实施严格的新出口管制，旨在严格限制俄罗斯获取维持其侵略性军事能力所需要的技术和其他物品。此外，我们接到并处理的任何政府下架通知都会公开发布，因为我们认为透明度对于良好治理至关重要。”&lt;/p&gt;

&lt;p&gt;&lt;img src="https://img.way2solo.com/photo/allengu93/77b55f32-c676-45b3-b274-33a74b42eb86.png?imageView2/2/w/1920/q/100" title="" alt=""&gt;&lt;/p&gt;

&lt;p&gt;众所周知，开源社区一直以开源许可证书来划定该开源项目的使用权限。但近日据媒体报道，许多开发人员已经开始在社交网络上发表声明，表示未来可能禁止俄罗斯程序员使用其代码。虽然开发人员可以随意使用正式开源的软件，但代码作者可以就使用其开发的代码制定规则，包括出于某一个原因拒绝使用其代码。&lt;/p&gt;

&lt;p&gt;EBR 法律代理机构的执行合伙人 Alexandra Zhuravleva 针对该问题表示：“许多许可证都附有制裁方面的条款；如果美国和欧盟愿意，它们可以实行制裁，禁止被制裁方使用开源软件或架构——那么俄罗斯产品将无法获得支持和更新，也无法正式使用此类软件”。毋庸置疑，当技术和政治战争挂钩，会无形的波及更多无辜的人民和机构。&lt;/p&gt;

&lt;p&gt;在今年 2 月初，俄罗斯宣布计划在 2022 年底之前建立一个类似 GitHub 的本国平台，其运营商将是俄罗斯信息技术发展基金会。作为这个项目的一部分，计划公开由俄罗斯开发的免费软件。&lt;/p&gt;

&lt;p&gt;今天作为看客的我们，看到这些，是否有什么启发？&lt;/p&gt;

&lt;p&gt;&lt;img src="https://img.way2solo.com/photo/allengu93/5bccd927-5f1f-42d7-aa08-4bbbf359a25f.jpeg?imageView2/2/w/1920/q/100" title="" alt=""&gt;&lt;/p&gt;

&lt;p&gt;源代码作为一个企业乃至国家的无形资产，在和平年代，托管到任何机构可能都没有问题。但是我们无法确保未来一定如我们所预期。适当把代码在国内服务商甚至本地做一个备份并不是杞人忧天。其实，除了众所周知的 GitHub，国内也有很多优秀的源码托管服务商，比如码云、CodeFever 等等。其中 CodeFever 作为国内为数不多的支持本地化部署的 git 服务，功能齐全、服务更轻、UI 更好看。&lt;/p&gt;

&lt;p&gt;CodeFever 的主要功能及承诺：&lt;br&gt;
&lt;img title=":free:" alt="🆓" src="https://twemoji.ruby-china.com/2/svg/1f193.svg" class="twemoji"&gt; 永久免费: 永久免费提供给大家使用，您无需担心付费 &lt;br&gt;
&lt;img title=":heart:" alt="❤" src="https://twemoji.ruby-china.com/2/svg/2764.svg" class="twemoji"&gt;️ 完整开源: 毫无保留的完整开源，无任何编译或加密代码 &lt;br&gt;
🥬 轻量安装: 极简设计风格，排除重度冗余的多余功能 &lt;br&gt;
⚡️ 性能高效 速度极快，对服务器资源要求极低，1 核 CPU/1G 内存即可运行 &lt;br&gt;
♾️ 无限仓库 没有任何仓库数量、使用数量的限制 &lt;br&gt;
⌨️ 代码对比 支持提交代码的不同版本支持高亮显示对比 &lt;br&gt;
🛤️ 分支和标签 完整支持 Git 原生功能，帮助更清晰的管理代码 &lt;br&gt;
🙋‍♂️ 合并请求（ Merge Request ）支持多人协作，让代码版本控制更顺畅 &lt;br&gt;
🙅🏻‍♀️ 分支保护 分支保护功能让代码提交安全可控，代码 Review 更容易清晰 &lt;br&gt;
👥 多人协作 支持多人团队协作，并可以设置每个成员的角色和权限 &lt;br&gt;
🖥️ 管理后台 支持超级管理员后台，可以让团队 leader 管理所有项目和用户信息 &lt;br&gt;&lt;/p&gt;

&lt;p&gt;大家可以访问 CodeFever 官网部署体验，自己的代码在自己的服务器上更踏实！最后，愿世界和平，战争不再❤️&lt;/p&gt;

&lt;p&gt;GitHub CEO Thomas Dohmke 发表于 Github 官网的《我们对乌克兰境内战争作出的响应》全文如下：&lt;/p&gt;

&lt;p&gt;As the global response to the tragedies in Ukraine and other impacted regions continues to evolve, I wanted to share with our community an expansion of the message that I shared earlier this week with our Hubbers.&lt;/p&gt;

&lt;p&gt;GitHub is united with the people of Ukraine and the international community in condemning these horrific acts of violence against a sovereign nation and its people. We continue to monitor the events in Europe surrounding the unlawful Russian military invasion of Ukraine.&lt;/p&gt;

&lt;p&gt;We care deeply about our global community, and many of us have loved ones all over the world, including in Ukraine, Russia, and other impacted regions. I grew up in East Germany during the Cold War, and I remember the happiness and optimism in the early 1990s that the world would come closer together. What we are witnessing now is something I never wanted to see again. It is devastating for the innocent people in Ukraine, and it is leading to feelings of helplessness and anger for those of us near and far away.&lt;/p&gt;

&lt;p&gt;As the home of open source and the home for all developers, we take our role seriously in protecting open collaboration and the free flow of information in our interconnected community. This includes keeping the platform open and available to all developers, no matter where they reside. I want to share the latest updates on how we are responding as a company, as a platform, and as a global community of Hubbers.&lt;/p&gt;

&lt;p&gt;Maintaining the integrity of our platform and company&lt;/p&gt;

&lt;p&gt;GitHub is a powerful tool for communications, humanitarian work, and organizing for change, as well as for incredible technological advancement. We truly believe in the power of open source, so we will continue to work hard to keep our platform available and safe for all developers around the world. In parallel with our efforts to make sure GitHub is available to developers in all countries, we are continuing to ensure free open source services are available to all, including developers in Russia.&lt;/p&gt;

&lt;p&gt;We are also committed to providing strong security capabilities that can prevent GitHub users and their accounts from compromise, and we urge developers to set up 2FA, ideally with WebAuthn, to protect their accounts.&lt;/p&gt;

&lt;p&gt;At the same time, we are taking action to support our platform and comply with the many government mandates you’ve likely read about in the context of this war. Our legal team examines such mandates thoroughly, and we are complying with export controls and trade regulations as they evolve. This includes implementing stringent new export controls that are aimed at severely restricting Russia’s access to technologies and other items it needs to sustain its aggressive military capabilities. Additionally, any government takedown notices we process are publicly posted because we believe that transparency is essential to good governance.&lt;/p&gt;

&lt;p&gt;Understandably, our community has had strong reactions to the conflict in Ukraine during this particularly stressful time. We are enforcing our Acceptable Use Policies and Community Guidelines to make GitHub safe for everyone. If you observe behavior that represents a potential violation of our Acceptable Use Policies or Community Guidelines, please report it.&lt;/p&gt;

&lt;p&gt;The Community and Product Operations teams are monitoring conversations in our forums and making assessments that abide by our codes of conduct for community forum and public feedback. We will lock discussions that violate these codes of conduct.&lt;/p&gt;

&lt;p&gt;Prioritizing Hubber safety and well-being&lt;/p&gt;

&lt;p&gt;I want to be very clear: we stand by every Hubber around the world regardless of your nationality or country of origin. Your well-being is of the utmost importance and you have our full support.&lt;/p&gt;

&lt;p&gt;Many of you have messaged me, the leadership team, and your managers looking for ways you can directly support those in Ukraine. GitHub always matches up to $15,000 in donations per Hubber annually, and the Social Impact team has shared a list of organizations in support of Ukraine where Hubbers can donate. I have personally donated to United Help Ukraine and the Benevity fund supporting Ukrainian refugees.&lt;/p&gt;

&lt;p&gt;GitHub as a company is also donating $100,000 to Razom and matching an additional $200,000 of donations from employees to help support relief efforts in the region. This includes matching donations for any volunteering hours Hubbers spend working for charities and doing humanitarian work across the world.&lt;/p&gt;

&lt;p&gt;I want to reiterate that we take our role seriously in protecting open collaboration and the free flow of information in our interconnected, global community. We will continue to closely follow the events and adapt as we learn more. And like many others around the world, we hope for a peaceful resolution for the people of Ukraine and other impacted communities. 💙💛&lt;/p&gt;</description>
      <author>allengu93</author>
      <pubDate>Tue, 08 Mar 2022 13:04:07 +0800</pubDate>
      <link>http://beta.w2solo.com/topics/3179</link>
      <guid>http://beta.w2solo.com/topics/3179</guid>
    </item>
    <item>
      <title>「CodeFever Community 保姆级教程」手把手教你搭建自己的代码托管服务器</title>
      <description>&lt;p&gt;熟练的使用 GIthub 和 Git 已经成为每个程序员必备的技能，Github 作为一款免费好用的代码托管平台，在很大程度上对开源社区的发展起到非常积极的作用，Git 也可以使程序员们更好的管理和维护自己的代码，使团队成员之间以更高效的方式进行代码协作。&lt;/p&gt;

&lt;p&gt;不过，出于各种原因，Github 在国内的使用感受并不是非常的流畅，国内经常会出现访问速度慢或者无法访问的情况，全英文的界面更是让一部分人望而却步。因此搭建自己的私有代码平台也成了一部分开发人员和团队的选择。针对这种需求，这里为大家推荐来自蒲公英团队最新开源的项目——CodeFever Community，这也是蒲公英团队内部使用了两年的代码管理平台，功能完善稳定，并且充分考虑中国企业的使用习惯，更有效率；其次，服务稳定，访问速度快，所需硬件配置极低，用户可以快速掌握软件的所有功能，实实在在地提升工作效率。&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;接下来就向大家详细介绍今天的主角 CodeFever Community&lt;/strong&gt;&lt;/p&gt;
&lt;h2 id="CodeFever Community是什么？"&gt;CodeFever Community 是什么？&lt;/h2&gt;
&lt;p&gt;&lt;a href="https://www.codefever.cn" rel="nofollow" target="_blank" title=""&gt;Codefever Community&lt;/a&gt;项目代码 100% 开源，且免费开放，所有源代码通过 MIT 授权协议均托管在 GitHub 上。内建完善的代码管理功能，帮助您的团队高效管理代码版本，让每次 Git 代码提交、推送、拉取、合并、查阅都变的更加轻松。清晰的分支权限管理，设有保护分支，提高整体安全性，团队协作规范有序且流畅。&lt;/p&gt;
&lt;h2 id="CodeFever Community的功能及特点："&gt;CodeFever Community 的功能及特点：&lt;/h2&gt;
&lt;p&gt;&lt;img title=":free:" alt="🆓" src="https://twemoji.ruby-china.com/2/svg/1f193.svg" class="twemoji"&gt; 永久免费: 永久免费提供给大家使用，您无需担心付费&lt;/p&gt;

&lt;p&gt;&lt;img title=":heart:" alt="❤" src="https://twemoji.ruby-china.com/2/svg/2764.svg" class="twemoji"&gt;️ 完整开源: 毫无保留的完整开源，无任何编译或加密代码&lt;/p&gt;

&lt;p&gt;🥬 轻量安装: 极简设计风格，排除重度冗余的多余功能&lt;/p&gt;

&lt;p&gt;&lt;img title=":zap:" alt="⚡" src="https://twemoji.ruby-china.com/2/svg/26a1.svg" class="twemoji"&gt;️ 性能高效: 速度极快，对服务器资源要求极低，1 核 CPU/1G 内存即可运行&lt;/p&gt;

&lt;p&gt;♾️ 无限仓库: 没有任何仓库数量、使用数量的限制&lt;/p&gt;

&lt;p&gt;&lt;img title=":keyboard:" alt="⌨" src="https://twemoji.ruby-china.com/2/svg/2328.svg" class="twemoji"&gt;️ 代码对比: 支持提交代码的不同版本支持高亮显示对比&lt;/p&gt;

&lt;p&gt;&lt;img title=":railway_track:" alt="🛤" src="https://twemoji.ruby-china.com/2/svg/1f6e4.svg" class="twemoji"&gt;️ 分支和标签: 完整支持 Git 原生功能，帮助更清晰的管理代码&lt;/p&gt;

&lt;p&gt;&lt;img title=":raising_hand:" alt="🙋" src="https://twemoji.ruby-china.com/2/svg/1f64b.svg" class="twemoji"&gt;‍♂️ 合并请求（ Merge Request ）: 支持多人协作，让代码版本控制更顺畅&lt;/p&gt;

&lt;p&gt;&lt;img title=":no_good::skin-tone-2:" alt="🙅🏻" src="https://twemoji.ruby-china.com/2/svg/1f645-1f3fb.svg" class="twemoji"&gt;‍♀️ 分支保护: 分支保护功能让代码提交安全可控，代码 Review 更容易清晰&lt;/p&gt;

&lt;p&gt;&lt;img title=":busts_in_silhouette:" alt="👥" src="https://twemoji.ruby-china.com/2/svg/1f465.svg" class="twemoji"&gt; 多人协作: 支持多人团队协作，并可以设置每个成员的角色和权限&lt;/p&gt;

&lt;p&gt;&lt;img title=":desktop_computer:" alt="🖥" src="https://twemoji.ruby-china.com/2/svg/1f5a5.svg" class="twemoji"&gt;️ 管理后台: 支持超级管理员后台，可以让团队 leader 管理所有项目和用户信息&lt;/p&gt;
&lt;h2 id="保姆级教程："&gt;保姆级教程：&lt;/h2&gt;
&lt;p&gt;我们进入 CodeFever Community 的&lt;a href="https://github.com/PGYER/codefever" rel="nofollow" target="_blank" title=""&gt;github 项目地址&lt;/a&gt;下拉至如何安装。&lt;/p&gt;

&lt;p&gt;CodeFever Community 有两种安装方式，分别是「Docker 镜像安装」和「从头开始安装」。&lt;/p&gt;

&lt;p&gt;安装方式：&lt;/p&gt;

&lt;p&gt;推荐指数⭐️⭐️⭐️：我们推荐您直接使用 Docker 镜像安装，这也是最简单的安装方式，使用 Docker 只需一行命令即可完成。&lt;/p&gt;

&lt;p&gt;难度指数⭐️⭐️⭐️：如果出于学习、研究或定制化需求，也可以手动方式安装。具体参见&lt;a href="https://github.com/PGYER/codefever/blob/master/doc/zh-cn/installation/install_from_scratch.md" rel="nofollow" target="_blank" title=""&gt;文档&lt;/a&gt;。&lt;/p&gt;

&lt;p&gt;接下来我们使用 Docker 镜像安装方式，带大家一起完成 CodeFever 的安装及配置。&lt;/p&gt;
&lt;h2 id="零、硬件配置及要求："&gt;零、硬件配置及要求：&lt;/h2&gt;
&lt;p&gt;首先需要一台&lt;strong&gt;linux 服务器&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;服务器最低配置：&lt;strong&gt;1 核 CPU 1G 内存&lt;/strong&gt;（ps：为了资源下载更快速，如是新购服务器，推荐香港节点，非香港节点，可以考虑配置加速器以达到更快的安装速度）&lt;/p&gt;
&lt;h2 id="一、Docker环境安装（已有Docker环境的小伙伴请跳过这一环节）："&gt;一、Docker 环境安装（已有 Docker 环境的小伙伴请跳过这一环节）：&lt;/h2&gt;
&lt;p&gt;第一步我们需要到&lt;a href="https://docs.docker.com/" rel="nofollow" target="_blank" title=""&gt;Docker 官网&lt;/a&gt;上安装。&lt;/p&gt;

&lt;p&gt;&lt;img src="https://assets.pgyer.com/image/view/admin_images/8e9a14a130310d2b0cc42de7758ecf09" title="" alt="docker文档"&gt;&lt;/p&gt;

&lt;p&gt;点击中间的 Download and Install 后，选择自己服务器的系统（演示中为 Linux）&lt;/p&gt;

&lt;p&gt;&lt;img src="https://assets.pgyer.com/image/view/admin_images/557dc40bd6cd0f735737976ddcce0202" title="" alt="选择对应的系统"&gt;&lt;/p&gt;

&lt;p&gt;进入后，在左侧 Install - Installation per distro 中选择自己的操作系统安装。&lt;/p&gt;

&lt;p&gt;&lt;img src="https://assets.pgyer.com/image/view/admin_images/1d7c6c171aa7a89e8e750c3b6dc7e4a7" title="" alt="选择自己的操作系统"&gt;&lt;/p&gt;

&lt;p&gt;之后下滑页面找到 Set up the respository ，可以看到一共有四步。&lt;/p&gt;

&lt;p&gt;&lt;img src="https://assets.pgyer.com/image/view/admin_images/f0b25dfdfd9bd9116dcdc76f55aacb28" title="" alt="安装步骤"&gt;&lt;/p&gt;

&lt;p&gt;首先我们打开终端，连接一下自己的服务器。 &lt;/p&gt;

&lt;p&gt;再按照上面的命令逐条复制粘贴，就会安装好 Docker。&lt;/p&gt;

&lt;p&gt;安装完成后，使用 sudo docker run hello-world 尝试运行。&lt;/p&gt;

&lt;p&gt;&lt;img src="https://assets.pgyer.com/image/view/admin_images/1f77bd5adc5dc7f722c2c450f25ec2fe" title="" alt="测试docker安装是否成功"&gt;&lt;/p&gt;

&lt;p&gt;如果看到这个界面说明 Docker 环境已经安装成功了🎉&lt;/p&gt;
&lt;h2 id="二、CodeFever Community安装"&gt;二、CodeFever Community 安装&lt;/h2&gt;
&lt;p&gt;接下来，我们回到 GitHub 页面里点击 Docker 镜像安装&lt;/p&gt;

&lt;p&gt;&lt;img src="https://assets.pgyer.com/image/view/admin_images/f082baf5f181bf78114904a43323b5d7" title="" alt="Docker 镜像安装"&gt;&lt;/p&gt;

&lt;p&gt;打开文档后，注意，我们先看第二条&lt;/p&gt;

&lt;p&gt;&lt;img src="https://assets.pgyer.com/image/view/admin_images/4b1fe964a6bb51f6bc519cfa6e247e7e" title="" alt=""&gt;&lt;/p&gt;

&lt;p&gt;这句话的意思是，我们平时在使用 git 仓库托管服务去拉取或者去 push 代码的时候一般可以使用两种方法：http（80 端口）和 ssh（22 端口）。&lt;/p&gt;

&lt;p&gt;如果我们 Codefever Community 使用 22 端口的话，宿主机的 22 端口就需要释放出来，不然的话他可能就会冲突，所以建议大家先把宿主的 22 端口改成别的，这样一会直接跑上面的命令就好啦。&lt;/p&gt;

&lt;p&gt;&lt;img src="https://assets.pgyer.com/image/view/admin_images/3d1d6f698bb63460f6e685f6b6f984fe" title="" alt="修改端口信息"&gt;&lt;/p&gt;

&lt;p&gt;（将 #Port 22 改成了 Port 28888）&lt;/p&gt;

&lt;p&gt;&lt;img src="https://assets.pgyer.com/image/view/admin_images/63692b3623537d7f9df5e748779520a1" title="" alt="端口28888"&gt;&lt;/p&gt;

&lt;p&gt;重启，重新连接服务器的时候就会连接失败，这个时候只要加上端口号在 IP 之前&lt;/p&gt;

&lt;p&gt;&lt;img src="https://assets.pgyer.com/image/view/admin_images/f4e18b84c010a22bd71fd8b3e9d2cb51" title="" alt="重连"&gt;&lt;/p&gt;

&lt;p&gt;这样就可以连接了。&lt;/p&gt;

&lt;p&gt;这样我们的 22 端口就未被使用了，然后我们返回 github，复制 命令前方加上 sudo 启动 Codefever。&lt;/p&gt;

&lt;p&gt;然后他就会自己拉取数据安装镜像了。&lt;/p&gt;
&lt;h2 id="三、新建仓库组及仓库"&gt;三、新建仓库组及仓库&lt;/h2&gt;
&lt;p&gt;在安装结束后我们就可以通过第一点提到的网址管理我们的仓库了。&lt;/p&gt;

&lt;p&gt;接下来进入网站后会出现登陆页面。&lt;/p&gt;

&lt;p&gt;我们填上账号：root@codefever.cn 密码：123456。&lt;/p&gt;

&lt;p&gt;&lt;img src="https://assets.pgyer.com/image/view/admin_images/66faf8aea8c974f52f727f5635af44da" title="" alt=""&gt;&lt;/p&gt;

&lt;p&gt;我们点击右上角的管理后台，就可以进入超级管理后台，在这里可以去管理所有项目所有用户、每个用户建立的仓库组、他们的登录信息、日志信息，这里都能看到。&lt;/p&gt;

&lt;p&gt;&lt;img src="https://assets.pgyer.com/image/view/admin_images/9b4c94a55912c6acbed598f89d50d111" title="" alt=""&gt;&lt;/p&gt;

&lt;p&gt;然后我们在左边看到有个设置按钮。&lt;/p&gt;

&lt;p&gt;&lt;img src="https://assets.pgyer.com/image/view/admin_images/1aa0284184b0d5c3113ad995207e1365" title="" alt=""&gt;&lt;/p&gt;

&lt;p&gt;建议大家在这里首先更改一下 URL 为自己的 IP 地址、域名，这样将来克隆仓库或者 push/pull 的时候都不会出错，保存之后回到首页，就可以尝试建立仓库了。&lt;/p&gt;

&lt;p&gt;然后我们建立一个新的仓库组，在仓库组内建立新的仓库起名 hello&lt;/p&gt;

&lt;p&gt;接下来我们进行测试，看看这个仓库能如何 push 代码。&lt;/p&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nx"&gt;echo&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;# test&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;README&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;md&lt;/span&gt;
&lt;span class="nx"&gt;git&lt;/span&gt; &lt;span class="nx"&gt;init&lt;/span&gt;
&lt;span class="nx"&gt;git&lt;/span&gt; &lt;span class="nx"&gt;add&lt;/span&gt; &lt;span class="nx"&gt;README&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;md&lt;/span&gt;
&lt;span class="nx"&gt;git&lt;/span&gt; &lt;span class="nx"&gt;commit&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;m&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;first commit&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;
&lt;span class="nx"&gt;git&lt;/span&gt; &lt;span class="nx"&gt;branch&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;M&lt;/span&gt; &lt;span class="nx"&gt;main&lt;/span&gt;
&lt;span class="nx"&gt;git&lt;/span&gt; &lt;span class="nx"&gt;remote&lt;/span&gt; &lt;span class="nx"&gt;add&lt;/span&gt; &lt;span class="nx"&gt;origin&lt;/span&gt; &lt;span class="nx"&gt;http&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="c1"&gt;//localhost/first/test.git&lt;/span&gt;
&lt;span class="nx"&gt;git&lt;/span&gt; &lt;span class="nx"&gt;push&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="nx"&gt;u&lt;/span&gt; &lt;span class="nx"&gt;origin&lt;/span&gt; &lt;span class="nx"&gt;main&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;首先我们从终端退出，将命令命令一行一行粘贴&lt;/p&gt;

&lt;p&gt;&lt;img src="https://assets.pgyer.com/image/view/admin_images/6aa1c70cf9d31903b28e709e7c46cb5d" title="" alt=""&gt;&lt;/p&gt;

&lt;p&gt;将第 6 行命令中的 localhost 改成我们自己的 IP 地址&lt;/p&gt;

&lt;p&gt;&lt;img src="https://assets.pgyer.com/image/view/admin_images/1e75dd813e489f57668ab5550812059a" title="" alt=""&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src="https://assets.pgyer.com/image/view/admin_images/15a3d32f3a57ed9e397daab79c023b3a" title="" alt=""&gt;&lt;/p&gt;

&lt;p&gt;完成后发现没有出错，说明这个 readme 文件已经 push 到我们的远程仓库中了。我们刷新一下。&lt;/p&gt;

&lt;p&gt;&lt;img src="https://assets.pgyer.com/image/view/admin_images/34e381acbe5a832370f26135c88553e6" title="" alt=""&gt;&lt;/p&gt;

&lt;p&gt;这样就算成功了。后期我们需要添加代码或者邀请用户，可以建立新的仓库组就好了。&lt;/p&gt;

&lt;p&gt;左边那一栏还支持合并、分支、标签、添加成员的操作。同时你还可以从右上角的帮助文档中了解一些基本的使用流程。&lt;/p&gt;

&lt;p&gt;&lt;img src="https://assets.pgyer.com/image/view/admin_images/ca082cad5ac9ea8bdf6546237c7bf8d7" title="" alt=""&gt;&lt;/p&gt;
&lt;h2 id="去B站看安装教程视频讲解"&gt;&lt;strong&gt;去 B 站看安装教程视频讲解&lt;/strong&gt;&lt;/h2&gt;
&lt;p&gt;&lt;span class="embed-responsive embed-responsive-16by9"&gt;&lt;iframe class="embed-responsive-item" src="//player.bilibili.com/player.html?bvid=16Y411575b" allowfullscreen&gt;&lt;/iframe&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;有任何问题，欢迎评论区讨论😊&lt;/p&gt;</description>
      <author>allengu93</author>
      <pubDate>Thu, 10 Feb 2022 17:21:51 +0800</pubDate>
      <link>http://beta.w2solo.com/topics/3135</link>
      <guid>http://beta.w2solo.com/topics/3135</guid>
    </item>
  </channel>
</rss>
