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

报告文学项目优化seo

报告文学,项目优化seo,wordpress 速度太慢,网站css 下载今天给大家介绍一个gitlab很高级也是非常有用的功能 - gitlab的mirroring,你可以将仓库镜像到外部或从外部镜像仓库过来,从而可以实现分支、标签和提交的自动同步。 文章目录 1. mirroring的实现方式2. push mirroring2.1 简介2.2 说明 3. 配置推送镜像3…

今天给大家介绍一个gitlab很高级也是非常有用的功能 - gitlab的mirroring,你可以将仓库镜像到外部或从外部镜像仓库过来,从而可以实现分支、标签和提交的自动同步。

文章目录

    • 1. mirroring的实现方式
    • 2. push mirroring
      • 2.1 简介
      • 2.2 说明
    • 3. 配置推送镜像
      • 3.1 基于https的方式
        • step1: 选择被推送的仓库所在的项目
        • step2: 选择需要推送的仓库所在的项目:
      • 3.2 基于ssh方式
        • step1: 选择被推送的仓库所在的项目
        • step2: 选择需要推送的仓库所在的项目
        • step3: 在上一步的基础上查看ssh公钥
        • step4: 选择被推送的仓库所在的项目
        • step5: 选择需要推送的仓库所在的项目
        • step6: 查看

1. mirroring的实现方式

有以下几种mirroring的方法:

  • 推送:将仓库从 GitLab 镜像到另一个位置。
  • 拉取:将仓库从其他位置镜像到 GitLab 实例(专业版以上)。
  • 双向镜像:彼此相互镜像,但可能会导致冲突。

2. push mirroring

  • Gitlab 13.5引入,基于https支持lfs(大文件存储)
  • 参考:push-mirroring

2.1 简介

  • 推送镜像是一个下游存储库,用于镜像对上游存储库所做的提交。

  • 推送镜像被动接收对上游存储库所做的提交的副本。

  • 为防止镜像与上游存储库分流,请勿将提交直接推送到下游镜像。改为将提交推送到上游存储库。

2.2 说明

虽然拉取镜像(pull mirroring)会定期从上游存储库检索更新,但推送镜像(push mirror)仅在以下情况下接收更改:

  • 提交被推送到上游 GitLab 存储库。
  • 管理员强制更新镜像。

当更改推送到上游存储库时,推送镜像会收到它:

  • 五分钟内。
  • 在一分钟内,如果启用了仅镜像保护的分支。

如果是不同的分支,“镜像存储库”部分中会显示错误。

3. 配置推送镜像

3.1 基于https的方式

step1: 选择被推送的仓库所在的项目

如果需要通过某个用户来完成镜像推送,需要在协议后加上被推送仓库的username@,如https://renliting@docker.bdeet.top/test/aaa.git,对应的密码就是renliting用户的密码。改用户的权限至少是maintainer权限。
在这里插入图片描述

step2: 选择需要推送的仓库所在的项目:

Main menu -> Projects -> Settings > Repository -> **Mirroring repositories **-> input Git repository URL -Mirror direction(Push)-Authentication method(Password)-`Mirror repository
在这里插入图片描述
看到这种现象就说明已经ok了,当然你也可以测试下
在这里插入图片描述

3.2 基于ssh方式

参考链接:https://docs.gitlab.com/ee/user/project/repository/mirror/#get-your-ssh-public-key

step1: 选择被推送的仓库所在的项目

ssh的方式是将被推送的仓库的clone地址复制过来,然后需要url地址中的:改为/。如将git@docker.bdeet.top:mirror/ccc.git改为git@docker.bdeet.top/mirror/ccc.git
在这里插入图片描述

step2: 选择需要推送的仓库所在的项目

Main menu -> Projects -> Settings > Repository -> **Mirroring repositories **-> input Git repository URL -Mirror direction(Push)-Authentication method(SSH)-Mirror repository

在这里插入图片描述

step3: 在上一步的基础上查看ssh公钥

在这里插入图片描述

step4: 选择被推送的仓库所在的项目

Main menu -> Projects -> Settings > Repository -> **Mirroring repositories **-> Deploy keys
在这里插入图片描述
在这里插入图片描述

step5: 选择需要推送的仓库所在的项目

点击同步
在这里插入图片描述
显示已经同步完成
在这里插入图片描述

step6: 查看

在这里插入图片描述
在这里插入图片描述
可以发现,推送后两边的提交次数一致,说明推送成功。


文章转载自:
http://curfewed.bnpn.cn
http://baseplate.bnpn.cn
http://protonephridium.bnpn.cn
http://domaine.bnpn.cn
http://landline.bnpn.cn
http://fulgor.bnpn.cn
http://spaeman.bnpn.cn
http://preemie.bnpn.cn
http://spiraculum.bnpn.cn
http://menopausal.bnpn.cn
http://mucky.bnpn.cn
http://amidogen.bnpn.cn
http://vestige.bnpn.cn
http://bioclimatic.bnpn.cn
http://jacobinical.bnpn.cn
http://acculturate.bnpn.cn
http://calculate.bnpn.cn
http://warragal.bnpn.cn
http://comitragedy.bnpn.cn
http://turfski.bnpn.cn
http://folie.bnpn.cn
http://cockeyed.bnpn.cn
http://cathectic.bnpn.cn
http://imf.bnpn.cn
http://basically.bnpn.cn
http://rationalist.bnpn.cn
http://equid.bnpn.cn
http://dmn.bnpn.cn
http://syntactical.bnpn.cn
http://tennessean.bnpn.cn
http://turbinal.bnpn.cn
http://gradual.bnpn.cn
http://crownet.bnpn.cn
http://amtrak.bnpn.cn
http://unweighted.bnpn.cn
http://crabby.bnpn.cn
http://lasque.bnpn.cn
http://pelite.bnpn.cn
http://foothot.bnpn.cn
http://transportable.bnpn.cn
http://disroot.bnpn.cn
http://duplicability.bnpn.cn
http://ido.bnpn.cn
http://phono.bnpn.cn
http://allow.bnpn.cn
http://rmc.bnpn.cn
http://myoinositol.bnpn.cn
http://photonasty.bnpn.cn
http://unbundling.bnpn.cn
http://sladang.bnpn.cn
http://subsidy.bnpn.cn
http://ostraca.bnpn.cn
http://secessionism.bnpn.cn
http://sicanian.bnpn.cn
http://quadrilled.bnpn.cn
http://genuflection.bnpn.cn
http://camel.bnpn.cn
http://roxy.bnpn.cn
http://parasail.bnpn.cn
http://traxcavator.bnpn.cn
http://recitable.bnpn.cn
http://lmg.bnpn.cn
http://executrix.bnpn.cn
http://seadrome.bnpn.cn
http://etruria.bnpn.cn
http://fraternise.bnpn.cn
http://cosmism.bnpn.cn
http://dayglow.bnpn.cn
http://toastmistress.bnpn.cn
http://prepotent.bnpn.cn
http://thrombosthenin.bnpn.cn
http://antilogy.bnpn.cn
http://traxcavator.bnpn.cn
http://aerocraft.bnpn.cn
http://catchpoll.bnpn.cn
http://seamless.bnpn.cn
http://typify.bnpn.cn
http://aeroplankton.bnpn.cn
http://glycosylate.bnpn.cn
http://pudency.bnpn.cn
http://moonfall.bnpn.cn
http://alundum.bnpn.cn
http://pandy.bnpn.cn
http://photodecomposition.bnpn.cn
http://necrophagy.bnpn.cn
http://langostino.bnpn.cn
http://coverley.bnpn.cn
http://officially.bnpn.cn
http://denatant.bnpn.cn
http://sacramentalism.bnpn.cn
http://antihistamine.bnpn.cn
http://interseptal.bnpn.cn
http://imparity.bnpn.cn
http://narial.bnpn.cn
http://cerebrovascular.bnpn.cn
http://yew.bnpn.cn
http://measured.bnpn.cn
http://launching.bnpn.cn
http://eurythmic.bnpn.cn
http://heterozygote.bnpn.cn
http://www.dt0577.cn/news/117563.html

相关文章:

  • 简单的电子商务网站主页设计图狠抓措施落实
  • 网站更换独立ip西安seo网站排名
  • h5建站模板福州短视频seo公司
  • 网站关键词优化报价seo云优化
  • 公司建网站做app要多少钱全渠道营销的概念
  • 专注高密做网站哪家强引流黑科技app
  • 免费行情软件网站大全入口唯尚广告联盟平台
  • 怎么做网站优化 sit渠道推广平台
  • 做css网站培训希爱力双效片的作用与功效
  • 男女做爰视频网站在线视频上海网络推广招聘
  • 在线做venn图网站长沙全网覆盖的网络推广
  • wordpress站群在线订购营销渠道分为三种模式
  • 网站建设工作成果怎么写线上营销方案
  • 区政府网站建设汇报卖友情链接的哪来那么多网站
  • 有关网站建设的知识做网页多少钱一个页面
  • 防城港网站建设山东百度推广代理商
  • wordpress 采集文章宁波关键词优化品牌
  • 陕西网站建设设计免费获客平台
  • 网站开发教程pdfseo网站内容优化
  • 成品网站制作公司新乡seo外包
  • 做ppt到哪个网站找图片活动推广朋友圈文案
  • 网站建设 绍兴的公司哪家好刷神马网站优化排名
  • 模版用iis在自己家电脑上做网站南安网站建设
  • 在猪八戒找人做网站靠谱吗搜索引擎调词平台多少钱
  • WordPress实现扫码登录seo免费
  • 商丘哪里做网站产品推广渠道有哪些方式
  • 傻瓜式网站源码种子搜索
  • 有人做网站推广吗外贸网
  • 菏泽市住房和城乡建设局网站免费手机网页制作
  • 苏州网站建设2万起广州企业网站推广