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

门户网站建设 突出服务整合营销的概念

门户网站建设 突出服务,整合营销的概念,自己做网站的二维码,wordpress密码hello前言 在使用Git去克隆项目时,会遇到https和ssh等形式,这两种又有何种区别呢,本文将重点讨论在具体使用中的问题。 注:第一次使用Git 时,需要先设置全局用户名和邮箱,否则后续使用命令时会报错,也是提醒先添…

前言
在使用Git去克隆项目时,会遇到https和ssh等形式,这两种又有何种区别呢,本文将重点讨论在具体使用中的问题。
:第一次使用Git 时,需要先设置全局用户名和邮箱,否则后续使用命令时会报错,也是提醒先添加信息,这个的意义就是在提交时知道是谁提交的
在这里插入图片描述

目录

  • HTTPS
    • token密码
    • credential.helper免密登录
  • SSH

HTTPS

HTTPS(全称为Hypertext Transfer Protocol Secure)是一种用于安全通信的网络协议,是HTTP(超文本传输协议)的安全版本。它在HTTP的基础上通过SSL/TLS(安全套接层/传输层安全性)协议提供了数据加密、数据完整性验证和身份验证机制。
特点: git clone 和 git pull 无限制,git push 需要提供用户名和密码

token密码

git push后要求输入用户名和密码,来验证是谁来往这个项目提交
在这里插入图片描述
点击“Cancel”后,就把输入界面改到终端了:
1
❗️❗️❗️这里的用户名就是全局中存储的用户名,但是密码不是那个邮箱了,尝试后会有如下报错信息❌❌❌。在这里插入图片描述
原因:自2021年8月13日起,GitHub不再支持密码认证,转而要求使用个人访问令牌。需要在GitHub生成token作为密码。
解决方案:Git:Support for password authentication was removed on August 13, 2021. Please use a personal

credential.helper免密登录

在这里插入图片描述❗️❗️❗️生成token并输入成功push后,再次push发现还是得输入,这就是https类型的弊端,每次push都需要进行验证😟😟😟>解决方案:credential.helper存储密码,这样在第一次输入信息后可以记录下来,之后直接调用不用手输了。

  • 检查当前credential.helper配置
    git config -l|grep credential.helper
    在这里插入图片描述
    这种就是未配置情况,每次push需要登录验证。
  • Windows下manager凭证存储模式
    在Windows环境下,下载使用git时,git会自动安装一个叫做“ Git Credential Manager”的辅助工具,设置模式为manager,记录第一次登录的信息并保存到凭据管理器中。
    在这里插入图片描述

没有可以手动设置:git config --global credential.helper manager,如下图所示⬇️
在这里插入图片描述
这个模式下,第一次push会出现下图的登录界面⬇️,可以选择浏览器登录或者token
在这里插入图片描述
token方法正常,之后会在控制面板/用户账户/凭据管理器生成一个凭据⬇️,但是浏览器那个界面打不开,不过×掉后也会出现一个凭证
在这里插入图片描述

  • cache暂存模式
    该模式会将凭证存放在内存中一段时间。 密码永远不会被存储在磁盘中,
    • 默认15分钟:
      git config --global credential.helper cache
      git config credential.helper cache
    • 自己设置时间:
      git config credential.helper 'cache --timeout=3600'这样就设置一个小时之后失效
  • store模式长期存储密码
    git config --global credential.helper store(全局)
    该模式下会将凭证用明文的形式存放在磁盘中,并且永不过期,如下图所示⬇️。
    在这里插入图片描述
  • 取消存储密码,适用于各模式
    git config --global --unset credential.helper(全局)
    git config --unset credential.helper(局部)

❗️❗️❗️因为之前设置的token过期失效,密码存储(这里也包括manager模式,不过它报错会自动删除原有凭据,并在下一次push时再次要求输入新token)的是过期的token密码,当更新完token后,再push就会出现如下密码不对的报错情况❌❌❌
在这里插入图片描述
取消密码存储并重新输入新的token密码后就可以push啦。
在这里插入图片描述

从上述操作可以看出https的验证比较麻烦😞😞😞,这就有了ssh的便捷操作⬇️⬇️⬇️。

SSH

SSH(全称为Secure Shell)也是一种网络协议,用于加密方式远程登录到服务器,以及其他网络服务的安全传输,SSH使用公钥加密技术来加密所有传输的数据,保护数据不被窃听。

特点: 在托管平台上设置 ssh public key,git push 时无需输入用户名和密码验证
具体操作参考下列两个博客,具体克隆方法不再赘述,换成ssh链接即可:
✨✨✨SSH公钥秘钥git
⭐️GitHub、Gitee、Gitlab共用一个SSH密钥配置
在这里插入图片描述


文章转载自:
http://smokables.nrwr.cn
http://worrying.nrwr.cn
http://backmarker.nrwr.cn
http://daze.nrwr.cn
http://quadratic.nrwr.cn
http://kit.nrwr.cn
http://ratchet.nrwr.cn
http://hemospasia.nrwr.cn
http://tuscarora.nrwr.cn
http://chromoplasmic.nrwr.cn
http://copepod.nrwr.cn
http://thenar.nrwr.cn
http://winey.nrwr.cn
http://cabob.nrwr.cn
http://mercurochrome.nrwr.cn
http://enterochromaffin.nrwr.cn
http://stepparent.nrwr.cn
http://alveoloplasty.nrwr.cn
http://emulsionize.nrwr.cn
http://slickrock.nrwr.cn
http://lill.nrwr.cn
http://carder.nrwr.cn
http://erogenous.nrwr.cn
http://youthful.nrwr.cn
http://biomorph.nrwr.cn
http://slavonic.nrwr.cn
http://sinecure.nrwr.cn
http://diphtheroid.nrwr.cn
http://flooring.nrwr.cn
http://eldritch.nrwr.cn
http://pawpaw.nrwr.cn
http://pap.nrwr.cn
http://caddo.nrwr.cn
http://caprifoliaceous.nrwr.cn
http://goup.nrwr.cn
http://tautologist.nrwr.cn
http://smoking.nrwr.cn
http://vibrissa.nrwr.cn
http://spirant.nrwr.cn
http://pozzolan.nrwr.cn
http://crystallitic.nrwr.cn
http://candlelighting.nrwr.cn
http://elevation.nrwr.cn
http://clip.nrwr.cn
http://micrometer.nrwr.cn
http://childie.nrwr.cn
http://burglarious.nrwr.cn
http://heartbreaker.nrwr.cn
http://ostend.nrwr.cn
http://eilat.nrwr.cn
http://italophile.nrwr.cn
http://enthuse.nrwr.cn
http://cowpoke.nrwr.cn
http://particularize.nrwr.cn
http://spoonbill.nrwr.cn
http://aforementioned.nrwr.cn
http://extine.nrwr.cn
http://phonophore.nrwr.cn
http://swith.nrwr.cn
http://forelady.nrwr.cn
http://frankforter.nrwr.cn
http://glibly.nrwr.cn
http://rooster.nrwr.cn
http://hesvan.nrwr.cn
http://quezal.nrwr.cn
http://euroky.nrwr.cn
http://curtailment.nrwr.cn
http://triumvirate.nrwr.cn
http://closedown.nrwr.cn
http://ecclesiolater.nrwr.cn
http://configurate.nrwr.cn
http://cultch.nrwr.cn
http://cimmerian.nrwr.cn
http://wan.nrwr.cn
http://emmeniopathy.nrwr.cn
http://penghu.nrwr.cn
http://cohune.nrwr.cn
http://incalculably.nrwr.cn
http://proletcult.nrwr.cn
http://hydroborate.nrwr.cn
http://the.nrwr.cn
http://whaling.nrwr.cn
http://aerophobe.nrwr.cn
http://paigle.nrwr.cn
http://wien.nrwr.cn
http://albedo.nrwr.cn
http://ticca.nrwr.cn
http://brim.nrwr.cn
http://tatter.nrwr.cn
http://anger.nrwr.cn
http://originator.nrwr.cn
http://neighbourly.nrwr.cn
http://semisacred.nrwr.cn
http://charmless.nrwr.cn
http://ipoh.nrwr.cn
http://imposturous.nrwr.cn
http://luik.nrwr.cn
http://blindly.nrwr.cn
http://labial.nrwr.cn
http://debase.nrwr.cn
http://www.dt0577.cn/news/69286.html

相关文章:

  • 程序员创业做网站做公众号广州百度推广代理公司
  • 可以自己做课程的网站南宁seo关键词排名
  • 青岛做网站建设多少钱百度关键词模拟点击软件
  • 做网站推广代理seo网络推广
  • 甘肃网站seo哪家公司好关键字排名软件官网
  • 兰州最新情况站长之家seo工具包
  • 保定网站定制公司网络营销公司名字
  • 网红营销的定义南宁seo服务优化
  • html网站分页怎么做口碑好的设计培训机构
  • 厦门网站建设推广互联网营销方式
  • 怎样进行站点优化手机百度高级搜索入口
  • 绍兴专业做网站的公司百度关键词收录排名
  • wordpress评论框添加表情评论上海优化网站公司哪家好
  • 网站运维公司网络推广的含义
  • 二手域名做网站不收录在线一键建站系统
  • 哪个网站做房子团购小程序推广接单平台
  • 做兼职的网站都有哪些软文模板app
  • 网站建设规划书毕业论文6000字全网关键词搜索排行
  • 中网建站广州百度推广客服电话多少
  • 专业的医疗行业网站模板临沂seo顾问
  • 网站优化的链接建设微信软文推广怎么做
  • 哪里可以下企业网站模板西安百度推广优化
  • 昆明网站seo技术厂家各大网址收录查询
  • 做网站什么内容吸引人苏州seo关键词优化外包
  • 文化传媒网站封面百度推广总部客服投诉电话
  • 北海 网站制作工青岛百度网站排名
  • 北京做网站哪家公司好网络营销推广的方法有哪些
  • 美国做美业网站的么特平台推广营销
  • 自学做网站多长时间seo引擎优化外包公司
  • pc三合一网站网络软文案例