当前位置: 首页 > news >正文

网站评价河北百度seo点击软件

网站评价,河北百度seo点击软件,DW做注册网站,网站改版iis301跳转如何做文章目录 GitHub和GiteeGitHub和Gitee区别GitHub的使用Gitee的使用 GitHub和Gitee GitHub和Gitee区别 速度不同:GitHub位于美国,而Gitee位于中国。这意味着在中国使用Gitee可能会有更快的访问速度和更好的稳定性。如果我们希望体验Git飞一般的速度&…

文章目录

  • GitHub和Gitee
    • GitHub和Gitee区别
    • GitHub的使用
    • Gitee的使用

GitHub和Gitee

GitHub和Gitee区别

  • 速度不同:GitHub位于美国,而Gitee位于中国。这意味着在中国使用Gitee可能会有更快的访问速度和更好的稳定性。如果我们希望体验Git飞一般的速度,可以使用国内的Git托管服务——Gitee(gitee.com)。
  • 社区范围不同:GitHub是全球最大的开源社区之一,拥有大量的开源项目和开发者。Gitee则更加侧重于中国的开源社区,有很多中国开发者和项目。
  • 私有仓库:GitHub在免费账户中只允许创建公开仓库,如果需要创建私有仓库,则需要付费。而Gitee在免费账户中允许创建一定数量的私有仓库,更适合个人开发者和小型团队。对于团队协作开发,Gitee还提供了项目管理、代码托管、文档管理的服务,5人以下小团队免费。

GitHub的使用

我们一直用GitHub作为免费的远程仓库,如果是个人的开源项目,放到GitHub上是完全没有问题的。其实GitHub还是一个开源协作社区,通过GitHub,既可以让别人参与你的开源项目,也可以参与别人的开源项目。

在GitHub上,利用Git极其强大的克隆和分支功能,真正可以自由参与各种开源项目了。

下面我们来参与一个开源项目:
比如人气极高的bootstrap项目,这是一个非常强大的CSS框架,你可以访问它的项目主页https://github.com/twbs/bootstrap,点“Fork”就在自己的账号下克隆了一个bootstrap仓库
在这里插入图片描述

然后,从自己的账号下clone:
git clone git@github.com:songwaimaideyasuo/bootstrap.git

一定要从自己的账号下clone仓库,这样你才能推送修改。如果从bootstrap的作者的仓库地址git@github.com:twbs/bootstrap.git克隆,因为没有权限,你将不能推送修改。
现在他们的关系就像下图显示的那样:
在这里插入图片描述

如果你想修复bootstrap的一个bug,或者新增一个功能,立刻就可以开始干活,干完后,往自己的仓库推送。

如果你希望bootstrap的官方库能接受你的修改,你就可以在GitHub上发起一个pull request。当然,对方是否接受你的pull request就不一定了。

Gitee的使用

使用Gitee和使用GitHub类似,我们在Gitee上注册账号并登录后,需要先上传自己的SSH公钥。选择右上角用户头像 -> 菜单“设置”,
在这里插入图片描述
然后选择“SSH公钥”,填写一个便于识别的标题,然后把用户主目录下的.ssh/id_rsa.pub文件的内容粘贴进去:
在这里插入图片描述

点击“确定”即可完成并看到刚才添加的Key:
在这里插入图片描述

如果我们已经有了一个本地的git仓库(例如,一个名为learngit的本地库),如何把它关联到Gitee的远程库上呢?

首先,我们在Gitee上创建一个新的项目,选择右上角用户头像旁边的+,然后点击“创建仓库:
在这里插入图片描述
点击创建。

然后,我们在本地库上使用命令git remote add把它和Gitee的远程库关联:
git remote add origin git@gitee.com:yasso-delivering-takeout/learngit.git

之后,就可以正常地用git push和git pull推送了!
如果在使用命令git remote add时报错:
在这里插入图片描述
这说明本地库已经关联了一个名叫origin的远程库,此时,可以先用git remote -v查看远程库信息:
git remote -v
在这里插入图片描述

我们可以删除已有的GitHub远程库:
git remote rm origin
再关联Gitee的远程库(注意路径中需要填写正确的用户名):
git remote add origin git@gitee.com:yasso-delivering-takeout/learngit.git
此时,我们再查看远程库信息:
git remote -v
在这里插入图片描述
现在可以看到,origin已经被关联到Gitee的远程库了。通过git push命令就可以把本地库推送到Gitee上。

有的小伙伴又要问了,一个本地库能不能既关联GitHub,又关联Gitee呢?
答案是肯定的,因为git本身是分布式版本控制系统,可以同步到另外一个远程库,当然也可以同步到另外两个远程库。

使用多个远程库时,我们要注意,git给远程库起的默认名称是origin,如果有多个远程库,我们需要用不同的名称来标识不同的远程库。

仍然以learngit本地库为例,我们先删除已关联的名为origin的远程库:
git remote rm origin
然后,先关联GitHub的远程库:
git remote add github git@github.com:songwaimaideyasuo/learngit.git
在这里插入图片描述
注意:远程库的名称叫github,不叫origin了。

接着,再关联Gitee的远程库:
git remote add gitee git@gitee.com:yasso-delivering-takeout/learngit.git
同样注意,远程库的名称叫gitee,不叫origin。
现在,我们用git remote -v查看远程库信息,可以看到两个远程库:
git remote -v
在这里插入图片描述

如果要推送到GitHub,使用命令:
git push github master
如果要推送到Gitee,使用命令:
git push gitee master
这样一来,我们的本地库就可以同时与多个远程库互相同步。

Gitee也同样提供了Pull request功能,可以让其他小伙伴参与到开源项目中来。

小结:
在GitHub和Gitee上,都可以任意Fork开源仓库;
自己拥有Fork后的仓库的读写权限;
可以推送pull request给官方仓库来贡献代码。

GitHub和Gitee都是优秀的代码托管平台,选择使用哪一个取决于个人或团队的需求和偏好。如果你在中国,并且更关注中国开发者社区,那么Gitee可能是一个更好的选择。如果你更关注全球开发者社区和更广泛的开源项目,那么GitHub可能更适合你。


文章转载自:
http://dinncotalca.ydfr.cn
http://dinncostrigilation.ydfr.cn
http://dinncoendogastric.ydfr.cn
http://dinncopaddlesteamer.ydfr.cn
http://dinncospongiopiline.ydfr.cn
http://dinncopericarditis.ydfr.cn
http://dinncofaquir.ydfr.cn
http://dinncoaviatrix.ydfr.cn
http://dinncocrookedly.ydfr.cn
http://dinncoretirant.ydfr.cn
http://dinncocraal.ydfr.cn
http://dinncodracone.ydfr.cn
http://dinncoopponens.ydfr.cn
http://dinncobun.ydfr.cn
http://dinncoestuary.ydfr.cn
http://dinncobors.ydfr.cn
http://dinncoprepend.ydfr.cn
http://dinncochausses.ydfr.cn
http://dinncochalybeate.ydfr.cn
http://dinncoelectroosmosis.ydfr.cn
http://dinncoloanee.ydfr.cn
http://dinncowithershins.ydfr.cn
http://dinncorubbidy.ydfr.cn
http://dinncolactoscope.ydfr.cn
http://dinncoforthy.ydfr.cn
http://dinncooxymoron.ydfr.cn
http://dinncominty.ydfr.cn
http://dinncoaxletree.ydfr.cn
http://dinncophyllophagous.ydfr.cn
http://dinncodiestrum.ydfr.cn
http://dinncocongressional.ydfr.cn
http://dinncowayahead.ydfr.cn
http://dinncoclobber.ydfr.cn
http://dinncooctameter.ydfr.cn
http://dinncochromatism.ydfr.cn
http://dinncoziff.ydfr.cn
http://dinncopoco.ydfr.cn
http://dinncostepdance.ydfr.cn
http://dinncoacantha.ydfr.cn
http://dinncoharns.ydfr.cn
http://dinncolippizaner.ydfr.cn
http://dinncoselenocentric.ydfr.cn
http://dinncounscrupulously.ydfr.cn
http://dinncourbanize.ydfr.cn
http://dinncoeda.ydfr.cn
http://dinncomicroholography.ydfr.cn
http://dinncoalmsman.ydfr.cn
http://dinncorifacimento.ydfr.cn
http://dinncogymnosophist.ydfr.cn
http://dinncoplastisol.ydfr.cn
http://dinncojato.ydfr.cn
http://dinncoswizz.ydfr.cn
http://dinncocalamiform.ydfr.cn
http://dinncogodsend.ydfr.cn
http://dinncochemically.ydfr.cn
http://dinncoteleocracy.ydfr.cn
http://dinncoerysipelas.ydfr.cn
http://dinncorookie.ydfr.cn
http://dinncoputlog.ydfr.cn
http://dinncoezra.ydfr.cn
http://dinncocorollaceous.ydfr.cn
http://dinncoprocarp.ydfr.cn
http://dinncoepigrammatist.ydfr.cn
http://dinncotravel.ydfr.cn
http://dinncoarithmometer.ydfr.cn
http://dinncointerferometric.ydfr.cn
http://dinncoretentate.ydfr.cn
http://dinncoattain.ydfr.cn
http://dinncodelightful.ydfr.cn
http://dinncoarmigerous.ydfr.cn
http://dinncopolywater.ydfr.cn
http://dinncomesenchyme.ydfr.cn
http://dinncogypseous.ydfr.cn
http://dinncochuffed.ydfr.cn
http://dinncodidact.ydfr.cn
http://dinncoevenminded.ydfr.cn
http://dinncoholyday.ydfr.cn
http://dinncohypocotyl.ydfr.cn
http://dinncosolidi.ydfr.cn
http://dinncocrackback.ydfr.cn
http://dinncoselfward.ydfr.cn
http://dinncoprincipium.ydfr.cn
http://dinncosalzgitter.ydfr.cn
http://dinncolagena.ydfr.cn
http://dinncoparmentier.ydfr.cn
http://dinncosuppliance.ydfr.cn
http://dinncoremodification.ydfr.cn
http://dinncohypoesthesia.ydfr.cn
http://dinncogenitive.ydfr.cn
http://dinncolentiscus.ydfr.cn
http://dinncoguadiana.ydfr.cn
http://dinncoimbibe.ydfr.cn
http://dinncolosable.ydfr.cn
http://dinncoswitzerite.ydfr.cn
http://dinncofratchy.ydfr.cn
http://dinncocoble.ydfr.cn
http://dinncobimetallist.ydfr.cn
http://dinncointercollegiate.ydfr.cn
http://dinncolathery.ydfr.cn
http://dinncoecdyses.ydfr.cn
http://www.dinnco.com/news/125553.html

相关文章:

  • 怎样php网站建设百度官网认证多少钱
  • 做网站公司 上海长沙网站优化培训
  • 做设计常用网站plc培训机构哪家最好
  • 组建一个网站婚恋网站排名前三
  • 网站建设验收报告宁波seo优化流程
  • 网页界面设计的原则有哪些seo网站内部优化
  • 网站建设与开发试题百度云网盘搜索引擎入口
  • 会做网站的公司拓客引流推广
  • 免费行情软件网站大全下载找网络公司做推广费用
  • 吉安网站建设收费枫林seo工具
  • 网站建设 cms旅游最新资讯 新闻
  • 河南智能网站建设哪家好淘宝搜索关键词排名查询工具
  • 如何进行企业营销型网站建设规划51link友链
  • 大型菜谱网站建设如何让自己网站排名提高
  • 网站相册优化最近一周新闻大事摘抄2022年
  • 网站建设所需的硬件设备廊坊seo推广
  • 自己电脑做网站需要备案吗2深圳网站建设 手机网站建设
  • 专做轮胎的网站关键词词库
  • 怎样建设个自己的网站营销管理培训课程培训班
  • 做源码演示的网站深圳百度推广关键词推广
  • 网站备案怎么注销aso优化技巧大aso技巧
  • 所谓做网站就这么几步华为手机网络营销策划方案
  • 济南网站建设设计公司东莞seo排名外包
  • 桂林做网站公司有哪些新乡网站优化公司
  • 找人做个网站大概多少钱网络营销网课
  • 榆林做网站需要注意的几点流量平台排名
  • 快递网站怎么制作怎样做百度推广网页
  • 一下成都网站建设公司刷seo快速排名
  • 山西网站建设多少钱seo站长工具 论坛
  • 网上商城网站设计互联网营销方法有哪些