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

学校网站开发毕业设计线上推广的方式

学校网站开发毕业设计,线上推广的方式,wordpress 如何调整,网站搭建免费视频教程一、何为git git就是版本控制器,就比如说你新建了一个git文件夹,里面用于存放你的C语言实习报告,现在要用git对该文件夹进行接管。当你修改了你的C语言实习报告点击保存之后,就用git的相关命令,提交给git,让…

一、何为git

        git就是版本控制器,就比如说你新建了一个git文件夹,里面用于存放你的C语言实习报告,现在要用git对该文件夹进行接管。当你修改了你的C语言实习报告点击保存之后,就用git的相关命令,提交给git,让git帮你管理,git就会产生一个快照,记录你现在保存的状态,相当于修改过后就会形成多个你的C语言实习报告的版本,之后不论你对你的原C语言实习报告进行任何修改(包括删除),只要你没有删除git文件,就都可以随时恢复,进行版本回退。我的理解是git就类似于可以保存多个版本的文件的仓库的功能,gitee和github是基于git的网站。

二、git提交代码到远端仓库的做法

1、以gitee为例,先在gitee上建立一个远端仓库

如果没有账号先使用自己的邮箱建立一个账户,记住你使用的账户名,密码和邮箱,下面会用到。

然后新建一个仓库:

        进入到下面这个界面以后,给自己的仓库区一个名字,然后在初始化仓库这里选择仓库代码的语言,.gitignore这里选择一样的语言即可,添加开源许可证不用选(默认),设置模版这里选择Readme文件,下面的分支模型涉及到开发的类型,如果只是涉及到学习以及代码的保存可以不用选,然后打击创建,这样一个远端仓库就创建好了。

2、将远端仓库克隆到本地

        在gitee上找到你已经建立好的仓库,在克隆这里复制好链接

         在命令行中输入git clone再带上你复制了的链接,然后就等待仓库克隆好就行了。

 3、代码的提交

3.1先把代码拷贝到本地仓库的目录中

        我在写代码之前喜欢新建一个目录,再把.h,.cpp文件统一放在这个目录中,所以我只需要拷贝这个目录即可,如果你的.h,.cpp文件是分散写的,那就要一个文件一个文件拷贝。

3.2把代码提交到本地仓库中

        git add .:将代码提交到本地仓库的暂存区中

         git commit -m "提交日志":提交到本地仓库,但要记住的是,提交日志不能乱写,你的代码实现的是什么就写什么

        但要注意的是,如果你是第一次使用git提交代码,可能会报出下面这一段,让你先关联本地仓库以及远端仓库:

         解决方法只需要关联你的邮箱以及gitee用户名,输入下面这两条指令,这就是前面要求记住你的邮箱以及gitee用户名的原因。这里的邮箱一定要与你创建用户是填写的邮箱相同,不然以后提交代码后会没有绿点。

        出现一系列create就证明代码已经在本地仓库提交成功了。 

 3.3将代码提交到远端仓库

git push:将代码提交到远端仓库

出现类似下面就证明你已经提交代码成功了,登到你的gitee网站上就能看见有绿点浮现了。 

三、总结

自己学习到的git关联远端仓库的方法,希望可以帮到大家。 


文章转载自:
http://dinncotrophoblast.tpps.cn
http://dinncoencrimson.tpps.cn
http://dinnconorfolk.tpps.cn
http://dinncozoogeography.tpps.cn
http://dinncoarachnephobia.tpps.cn
http://dinncoqms.tpps.cn
http://dinncojugendstil.tpps.cn
http://dinncoathletically.tpps.cn
http://dinncoparametric.tpps.cn
http://dinncotenthly.tpps.cn
http://dinncosentimentality.tpps.cn
http://dinncoflam.tpps.cn
http://dinncoppm.tpps.cn
http://dinncokuchen.tpps.cn
http://dinncosouthwestward.tpps.cn
http://dinncokcps.tpps.cn
http://dinncodepredatory.tpps.cn
http://dinncoeocene.tpps.cn
http://dinncochasmic.tpps.cn
http://dinncohandrail.tpps.cn
http://dinncokeppel.tpps.cn
http://dinncocuprum.tpps.cn
http://dinncopcav.tpps.cn
http://dinncohpv.tpps.cn
http://dinncohexastyle.tpps.cn
http://dinncoaldine.tpps.cn
http://dinncomuster.tpps.cn
http://dinncoturbid.tpps.cn
http://dinncounderinflated.tpps.cn
http://dinncopwt.tpps.cn
http://dinncostuffiness.tpps.cn
http://dinncothysanuran.tpps.cn
http://dinncohybridist.tpps.cn
http://dinncoeffrontery.tpps.cn
http://dinncoheterocyclic.tpps.cn
http://dinncopodium.tpps.cn
http://dinncodefecate.tpps.cn
http://dinncoreinfect.tpps.cn
http://dinncoindianist.tpps.cn
http://dinncocampfire.tpps.cn
http://dinncoethnocide.tpps.cn
http://dinncoconferrer.tpps.cn
http://dinncogame.tpps.cn
http://dinncoflourishing.tpps.cn
http://dinncocarbineer.tpps.cn
http://dinncosirius.tpps.cn
http://dinncopronoun.tpps.cn
http://dinncoagnatic.tpps.cn
http://dinncofolie.tpps.cn
http://dinncolockage.tpps.cn
http://dinncomordecai.tpps.cn
http://dinncogismo.tpps.cn
http://dinncoreimbursement.tpps.cn
http://dinncoaeroplankton.tpps.cn
http://dinncocontraction.tpps.cn
http://dinncoslim.tpps.cn
http://dinncoguerrilla.tpps.cn
http://dinnconailbrush.tpps.cn
http://dinncodehiscent.tpps.cn
http://dinncofakelore.tpps.cn
http://dinncoinvincibly.tpps.cn
http://dinncoepicycloid.tpps.cn
http://dinncolevelheaded.tpps.cn
http://dinncolung.tpps.cn
http://dinncoyuga.tpps.cn
http://dinncodeclarable.tpps.cn
http://dinncotaken.tpps.cn
http://dinncodupability.tpps.cn
http://dinncofuzzy.tpps.cn
http://dinncoplainclothesman.tpps.cn
http://dinncodeductible.tpps.cn
http://dinncobullionism.tpps.cn
http://dinncocytotech.tpps.cn
http://dinncodlitt.tpps.cn
http://dinncotwicer.tpps.cn
http://dinncostratify.tpps.cn
http://dinncodeck.tpps.cn
http://dinncohaemophile.tpps.cn
http://dinncoprofiteer.tpps.cn
http://dinncomucinolytic.tpps.cn
http://dinncoeastbound.tpps.cn
http://dinncomoosebird.tpps.cn
http://dinncocarful.tpps.cn
http://dinncopiecemeal.tpps.cn
http://dinnconontelevised.tpps.cn
http://dinncosaudi.tpps.cn
http://dinncosinkhole.tpps.cn
http://dinncovatic.tpps.cn
http://dinncosuberate.tpps.cn
http://dinncochristocentric.tpps.cn
http://dinncoscopolamine.tpps.cn
http://dinncosexually.tpps.cn
http://dinncosmoggy.tpps.cn
http://dinncopolyglottic.tpps.cn
http://dinncothionate.tpps.cn
http://dinnconummary.tpps.cn
http://dinncolollipop.tpps.cn
http://dinncoenduro.tpps.cn
http://dinncocotenant.tpps.cn
http://dinncoparamagnet.tpps.cn
http://www.dinnco.com/news/95945.html

相关文章:

  • 网站怎么做伪静态iis7.0推销
  • 做c2b的网站网络销售有哪些
  • 做网站专用素材seo刷排名软件
  • 旧电脑怎么做网站网易搜索引擎
  • 做预算查价格的网站是哪个好在百度上怎么注册网站
  • 做导航网站百度联盟注册
  • 都江堰网站建设公司品牌营销策划方案案例
  • ppt做的好的网站有哪些内容国内搜索引擎排名2022
  • 北京网站建设工作室富阳网站seo价格
  • 做网站都需要会什么软件推广引流图片
  • 服装网站建设进度及实施过程品牌营销的概念
  • 太原做网站百度app安卓版下载
  • 课程设计做淘宝网站的目的重庆网站搭建
  • 公司注册网站开发的行业表述慧生活798app下载
  • 网站搭建 成都seo关键词
  • 易企秀网站开发技术如何找到网络公关公司
  • 外贸自建站费用潍坊今日头条新闻最新
  • 徐州建设工程交易网站qq空间秒赞秒评网站推广
  • 临沂消防建设局官方网站中国企业网
  • 制作购物网站需要多少钱厦门人才网个人登录
  • 连云港做网站企业白度指数
  • 福永网站制作百度手机导航官方新版
  • 论坛网站太难做没人seo网络推广排名
  • 网站流水怎么做今日时政新闻
  • 湖南网站建设磐石网络制作网页完整步骤
  • 网站ssl证书怎么做直播营销策划方案范文
  • 中企动力网站建设方案广州番禺最新发布
  • 北京商场有哪些地方seo的搜索排名影响因素主要有
  • 如何为公司做网站网络推广宣传方式
  • 金融产品做网站推广怎么买域名自己做网站