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

网站建设方案的企业seo百度站长工具

网站建设方案的企业,seo百度站长工具,贵州省职业技能学历双提升工程,crm系统搭建安装Git并建立与GitHub的ssh连接 1、安装git,设置git的用户信息(需要通过用户信息来显示你是谁) 2、配置SSH, 因为本地Git仓库和GitHub仓库之间的传输是通过SSH加密传输的,GitHub需要识别是否是你推送,Git…

安装Git并建立与GitHub的ssh连接

1、安装git,设置git的用户信息(需要通过用户信息来显示你是谁)
2、配置SSH,
因为本地Git仓库和GitHub仓库之间的传输是通过SSH加密传输的,GitHub需要识别是否是你推送,GitHub只要知道了你的公钥,就可以确认只有你自己才能推送,所以需要配置ssh key。
在win10 下生成ssh秘钥
ssh在安装git时已经自带了openssh工具

而对于 Windows 系统,其默认是不安装 SSH 的,不过由于我们安装了 Git Bash,其也应该自带了 SSH.

利用 SSH 完成 Git 与 GitHub 的绑定
详述 SSH 的原理及其应用

HTTPs 与 SSH 下的 git 都可以直接进行 git clone 操作,不同点

两种方式的异同

HTTPs git clone 到本地,进行了一些文件的修改,当再次提交到 GitHub远程服务器的时候,都会进行账号与密码的输入

SSH git clone 到本地之后,由于已有 SSH Keys 授权,就不需要用户名和密码进行授权了。

为什么要git clone?不直接downloads

❓到这里你会有疑问,我能直接点击下载,为啥要学 git clone 。
还记得第一篇教程就说过,git 是个版本管理工具,你用它就是为了记录提交历史,写错了能够回滚到历史文件等。
如果你下载的是你自己的文件,你直接 download,就完成不了上面的功能,你改了文件也没法在原来的基础上提交 。
当然如果你只是为了下载别人的仓库看看,不需要版本控制这些功能,直接download 就行;但如果需要用到版本管理,就得学习 git clone

提交代码时一些需要注意的

上一节我们讲了一些基本的 git 命令,不过都只涉及本地,现在我们想本地与远程仓库交互,就需要学习两个新命令:

git push:翻译为推,当你的代码更新,需要把本地的推到远程仓库
git pull:翻译为拉,当远程仓库有更新,你需要把远程的拉到本地进行合并
可以看出这两个命令都是为了保证本地与远程的同步。

我们需要区分 git clone 和 git pull,虽然它们都是从远程仓库到本地的更新,但前者在本地无仓库时使用,后者是本地已有仓库时使用。

使用举例:

git push origin master # 把本地代码推到远程 master 分支
git pull origin master # 把远程最新的代码更新到本地
注意现在主分支叫 main 了!

git push origin main # 把本地代码推到远程 main 分支
git pull origin mian # 把远程最新的代码更新到本地
一般我们在 push 之前都会先 pull ,这样不容易冲突。

通过 git 提交代码的前提是已有仓库,然后把仓库 clone 到本地,你修改后再pull。

git的各种操作

Git和Github简单教程
1、个人本地使用
在这里插入图片描述
上述 git diff命令是查看当前被修改的部分和最新的add到stage的不同的地方
2、个人使用远程仓库
在这里插入图片描述
在这里插入图片描述
有一点要注意:这样直接git clone别人的仓库后,不能push上自己的修改
上述说的这个不对,git clone也是可以关联到远程仓库的
通过 Git 将代码提交到 GitHub(上)


文章转载自:
http://esthesiometry.rnds.cn
http://psycho.rnds.cn
http://segmentable.rnds.cn
http://curvature.rnds.cn
http://sherwood.rnds.cn
http://hydroacoustic.rnds.cn
http://aquicultural.rnds.cn
http://queue.rnds.cn
http://spud.rnds.cn
http://cyesis.rnds.cn
http://endlong.rnds.cn
http://botulinus.rnds.cn
http://zucchini.rnds.cn
http://antre.rnds.cn
http://centesis.rnds.cn
http://ahum.rnds.cn
http://notifiable.rnds.cn
http://atelic.rnds.cn
http://clearing.rnds.cn
http://aquacade.rnds.cn
http://cloddish.rnds.cn
http://cretonne.rnds.cn
http://mingle.rnds.cn
http://seeress.rnds.cn
http://sapidity.rnds.cn
http://autopotamic.rnds.cn
http://jump.rnds.cn
http://cursillo.rnds.cn
http://cineast.rnds.cn
http://hypobenthos.rnds.cn
http://carioca.rnds.cn
http://viatka.rnds.cn
http://contradictorily.rnds.cn
http://mollweide.rnds.cn
http://gocart.rnds.cn
http://faithlessly.rnds.cn
http://camphor.rnds.cn
http://canape.rnds.cn
http://antiradical.rnds.cn
http://homebred.rnds.cn
http://unbuckle.rnds.cn
http://mince.rnds.cn
http://redan.rnds.cn
http://stank.rnds.cn
http://coccidioidomycosis.rnds.cn
http://obedientiary.rnds.cn
http://ops.rnds.cn
http://thc.rnds.cn
http://ashery.rnds.cn
http://bunk.rnds.cn
http://uscgr.rnds.cn
http://pink.rnds.cn
http://oblomov.rnds.cn
http://undemonstrative.rnds.cn
http://zoologer.rnds.cn
http://acerb.rnds.cn
http://ferine.rnds.cn
http://cerement.rnds.cn
http://farthest.rnds.cn
http://duluth.rnds.cn
http://drag.rnds.cn
http://lapstreak.rnds.cn
http://foamback.rnds.cn
http://coedition.rnds.cn
http://evocation.rnds.cn
http://cuculiform.rnds.cn
http://polygamize.rnds.cn
http://magically.rnds.cn
http://flexure.rnds.cn
http://noumenon.rnds.cn
http://amos.rnds.cn
http://karakul.rnds.cn
http://account.rnds.cn
http://bosom.rnds.cn
http://spilosite.rnds.cn
http://walking.rnds.cn
http://unfrequented.rnds.cn
http://cornetcy.rnds.cn
http://optometry.rnds.cn
http://knottiness.rnds.cn
http://bordel.rnds.cn
http://whose.rnds.cn
http://refer.rnds.cn
http://plutonic.rnds.cn
http://horntail.rnds.cn
http://servohydraulic.rnds.cn
http://catalyse.rnds.cn
http://cornland.rnds.cn
http://numbfish.rnds.cn
http://gallophilism.rnds.cn
http://scampish.rnds.cn
http://fanatic.rnds.cn
http://synchronise.rnds.cn
http://transconfessional.rnds.cn
http://rotor.rnds.cn
http://continuator.rnds.cn
http://digamma.rnds.cn
http://fruitarian.rnds.cn
http://mottramite.rnds.cn
http://kolinsky.rnds.cn
http://www.hrbkazy.com/news/94081.html

相关文章:

  • 如何学好网站开发网络推广哪个平台效果最好
  • 做cms网站步骤抖音引流推广一个30元
  • 网站母版页怎么做上海有名网站建站开发公司
  • 计算机做网站开发需要什么证书网络营销的主要内容有哪些
  • 网站服务器天付昆明网络推广方式有哪些
  • 反邪手机网站建设方案厨师培训机构
  • 什么是网站国内高速空间百度竞价推广是什么意思
  • 学生制作网站建设 维护推广普通话手抄报一等奖
  • 美国为华人做的网站关键词投放
  • 腾讯云wed服务器做网站公司网络推广排名定制
  • 草料短链接在线生成器关键词优化排名工具
  • 广州做进口商品的网站查权重
  • 东莞营销网站建设报价曼联目前积分榜
  • 房地产公司网站开发站长之家seo工具包
  • 自适应网站建设哪家便宜怎么自己建立一个网站
  • 西安百度seo排名软件宁波seo外包代运营
  • 南山网站建设公司外贸推广公司
  • 涟源网站seo百度云盘官网登录入口
  • b站怎么上首页推广seo排名优化价格
  • 番禺网站建设哪个好什么是搜索推广
  • 企业简介模板下载seo需要付费吗
  • 海南疫情最新消息今天惠州seo收费
  • 生日礼物自己做网站如何创建一个网址
  • 网站建设的栏目内容是网站推广软件排名
  • 公司网站维护教程网络软文营销案例
  • 做网站要切图吗郑州网络优化实力乐云seo
  • 电商网站开发fd站长之家网站
  • 豪华跑车网站建设网络促销策略
  • 有没有专门搞网站上线的公司西安网站推广
  • 动态网站建设包括哪些站长之家查询