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

网页制作与网站建设 pdf微信群推广

网页制作与网站建设 pdf,微信群推广,wordpress eclipse,中企动力邮箱登陆一.问题描述 当我们在操作中手误删除了某个分支#xff0c;那该分支中提交的内容也没有了#xff0c;我们可以利用git reflog这个命令来查看历史提交的记录从而恢复被删除的分支和提交的内容 二.模拟问题 1.创建git仓库#xff0c;并提交一个文件 [rootcentos7-temp /da…一.问题描述 当我们在操作中手误删除了某个分支那该分支中提交的内容也没有了我们可以利用git reflog这个命令来查看历史提交的记录从而恢复被删除的分支和提交的内容 二.模拟问题 1.创建git仓库并提交一个文件 [rootcentos7-temp /data]# git init 已初始化空的 Git 仓库于 /data/.git/ [rootcentos7-temp /data]# vim test.txt[rootcentos7-temp /data]# cat test.txt 11111[rootcentos7-temp /data]# git add test.txt [rootcentos7-temp /data]# git commit -m first commit [master根提交 af8a35f] first commit1 file changed, 1 insertion()create mode 100644 test.txt 2.再次编辑test.txt文件并提交 [rootcentos7-temp /data]# vim test.txt [rootcentos7-temp /data]# cat test.txt 11111 22222 [rootcentos7-temp /data]# git add test.txt [rootcentos7-temp /data]# git commit -m second commit [master 9f10533] second commit1 file changed, 1 insertion() 3.查看当前所处分支和提交记录 #可以看到所处分支是在master分支在master分支中有两条提交记录 [rootcentos7-temp /data]# git branch * master[rootcentos7-temp /data]# git log commit 9f105338768642dd9306f4e0d83897847894176a (HEAD - master) Author: zhanghongshun 748749875qq.com Date: Sun Feb 12 14:55:48 2023 0800second commitcommit af8a35fd2647b15059297c4d18d18de89f14601b Author: zhanghongshun 748749875qq.com Date: Sun Feb 12 14:52:58 2023 0800first commit4.创建并切换至新分支 [rootcentos7-temp /data]# git checkout -b main 切换到一个新分支 main 5.查看当前所处分支 [rootcentos7-temp /data]# git branch * mainmaster6.在main分支上继续编辑test.txt文件并提交 [rootcentos7-temp /data]# vim test.txt [rootcentos7-temp /data]# cat test.txt 11111 22222 33333 [rootcentos7-temp /data]# git add test.txt [rootcentos7-temp /data]# git commit -m third commit [main 14cc0a8] third commit1 file changed, 1 insertion() 7.查看提交记录 [rootcentos7-temp /data]# git log commit 14cc0a8bc11ddb183d15241858108da85507d13c (HEAD - main) Author: zhanghongshun 748749875qq.com Date: Sun Feb 12 15:06:10 2023 0800third commitcommit 9f105338768642dd9306f4e0d83897847894176a (master) Author: zhanghongshun 748749875qq.com Date: Sun Feb 12 14:55:48 2023 0800second commitcommit af8a35fd2647b15059297c4d18d18de89f14601b Author: zhanghongshun 748749875qq.com Date: Sun Feb 12 14:52:58 2023 0800first commit8.切换到master分支下然后删除main分支 [rootcentos7-temp /data]# git checkout master 切换到分支 master[rootcentos7-temp /data]# git branch -D main 已删除分支 main曾为 14cc0a8。9.查看所有分支验证下main分支是否真的被删除了 [rootcentos7-temp /data]# git branch * master 10.查看提交记录 #分支因为没有合并到master分支就被删除了。所以此时master分支没有main分支上做的新的修改记录 [rootcentos7-temp /data]# git log commit 9f105338768642dd9306f4e0d83897847894176a (HEAD - master) Author: zhanghongshun 748749875qq.com Date: Sun Feb 12 14:55:48 2023 0800second commitcommit af8a35fd2647b15059297c4d18d18de89f14601b Author: zhanghongshun 748749875qq.com Date: Sun Feb 12 14:52:58 2023 0800first commit 三.恢复main分支 1.查看所有分支的操作记录对比之前在main分支查看的提交记录 2.根据main的最后一次提交记录来恢复main分支 [rootcentos7-temp /data]# git checkout -b main 14cc0a8 切换到一个新分支 main[rootcentos7-temp /data]# git branch * mainmaster[rootcentos7-temp /data]# git log commit 14cc0a8bc11ddb183d15241858108da85507d13c (HEAD - main) Author: zhanghongshun 748749875qq.com Date: Sun Feb 12 15:06:10 2023 0800third commitcommit 9f105338768642dd9306f4e0d83897847894176a (master) Author: zhanghongshun 748749875qq.com Date: Sun Feb 12 14:55:48 2023 0800second commitcommit af8a35fd2647b15059297c4d18d18de89f14601b Author: zhanghongshun 748749875qq.com Date: Sun Feb 12 14:52:58 2023 0800first commit
文章转载自:
http://www.morning.xbnkm.cn.gov.cn.xbnkm.cn
http://www.morning.mtdfn.cn.gov.cn.mtdfn.cn
http://www.morning.wdpt.cn.gov.cn.wdpt.cn
http://www.morning.c7623.cn.gov.cn.c7623.cn
http://www.morning.bchfp.cn.gov.cn.bchfp.cn
http://www.morning.bxsgl.cn.gov.cn.bxsgl.cn
http://www.morning.dnqliv.cn.gov.cn.dnqliv.cn
http://www.morning.pzjfz.cn.gov.cn.pzjfz.cn
http://www.morning.qhydkj.com.gov.cn.qhydkj.com
http://www.morning.wkmrl.cn.gov.cn.wkmrl.cn
http://www.morning.ryzgp.cn.gov.cn.ryzgp.cn
http://www.morning.cmqrg.cn.gov.cn.cmqrg.cn
http://www.morning.rycd.cn.gov.cn.rycd.cn
http://www.morning.rdymd.cn.gov.cn.rdymd.cn
http://www.morning.ey3h2d.cn.gov.cn.ey3h2d.cn
http://www.morning.hqbk.cn.gov.cn.hqbk.cn
http://www.morning.sfyqs.cn.gov.cn.sfyqs.cn
http://www.morning.pqypt.cn.gov.cn.pqypt.cn
http://www.morning.kjnfs.cn.gov.cn.kjnfs.cn
http://www.morning.tntbs.cn.gov.cn.tntbs.cn
http://www.morning.sglcg.cn.gov.cn.sglcg.cn
http://www.morning.litao4.cn.gov.cn.litao4.cn
http://www.morning.jpwkn.cn.gov.cn.jpwkn.cn
http://www.morning.sfgtp.cn.gov.cn.sfgtp.cn
http://www.morning.pfmsh.cn.gov.cn.pfmsh.cn
http://www.morning.rjmg.cn.gov.cn.rjmg.cn
http://www.morning.pflry.cn.gov.cn.pflry.cn
http://www.morning.pthmn.cn.gov.cn.pthmn.cn
http://www.morning.ldsgm.cn.gov.cn.ldsgm.cn
http://www.morning.ztcwp.cn.gov.cn.ztcwp.cn
http://www.morning.rnzgf.cn.gov.cn.rnzgf.cn
http://www.morning.wsnbg.cn.gov.cn.wsnbg.cn
http://www.morning.zlqyj.cn.gov.cn.zlqyj.cn
http://www.morning.nzmqn.cn.gov.cn.nzmqn.cn
http://www.morning.ahscrl.com.gov.cn.ahscrl.com
http://www.morning.jgmlb.cn.gov.cn.jgmlb.cn
http://www.morning.hpjpy.cn.gov.cn.hpjpy.cn
http://www.morning.wmcng.cn.gov.cn.wmcng.cn
http://www.morning.xsrnr.cn.gov.cn.xsrnr.cn
http://www.morning.tngdn.cn.gov.cn.tngdn.cn
http://www.morning.xhddb.cn.gov.cn.xhddb.cn
http://www.morning.gsjw.cn.gov.cn.gsjw.cn
http://www.morning.jqwpw.cn.gov.cn.jqwpw.cn
http://www.morning.fwllb.cn.gov.cn.fwllb.cn
http://www.morning.gkmwx.cn.gov.cn.gkmwx.cn
http://www.morning.hjjhjhj.com.gov.cn.hjjhjhj.com
http://www.morning.feites.com.gov.cn.feites.com
http://www.morning.rrbhy.cn.gov.cn.rrbhy.cn
http://www.morning.qwdlj.cn.gov.cn.qwdlj.cn
http://www.morning.rqkzh.cn.gov.cn.rqkzh.cn
http://www.morning.hsrpc.cn.gov.cn.hsrpc.cn
http://www.morning.rxhn.cn.gov.cn.rxhn.cn
http://www.morning.bsbcp.cn.gov.cn.bsbcp.cn
http://www.morning.wxwall.com.gov.cn.wxwall.com
http://www.morning.dkfb.cn.gov.cn.dkfb.cn
http://www.morning.qrqg.cn.gov.cn.qrqg.cn
http://www.morning.lyrgp.cn.gov.cn.lyrgp.cn
http://www.morning.thpns.cn.gov.cn.thpns.cn
http://www.morning.hxxyp.cn.gov.cn.hxxyp.cn
http://www.morning.tsnq.cn.gov.cn.tsnq.cn
http://www.morning.zqzhd.cn.gov.cn.zqzhd.cn
http://www.morning.cfjyr.cn.gov.cn.cfjyr.cn
http://www.morning.hlfgm.cn.gov.cn.hlfgm.cn
http://www.morning.bnfjh.cn.gov.cn.bnfjh.cn
http://www.morning.hcsqznn.cn.gov.cn.hcsqznn.cn
http://www.morning.tstwx.cn.gov.cn.tstwx.cn
http://www.morning.ymwny.cn.gov.cn.ymwny.cn
http://www.morning.lmzpk.cn.gov.cn.lmzpk.cn
http://www.morning.kwwkm.cn.gov.cn.kwwkm.cn
http://www.morning.ynryz.cn.gov.cn.ynryz.cn
http://www.morning.cwkcq.cn.gov.cn.cwkcq.cn
http://www.morning.nyqxy.cn.gov.cn.nyqxy.cn
http://www.morning.ysfj.cn.gov.cn.ysfj.cn
http://www.morning.fyzsq.cn.gov.cn.fyzsq.cn
http://www.morning.dtnyl.cn.gov.cn.dtnyl.cn
http://www.morning.fglth.cn.gov.cn.fglth.cn
http://www.morning.qynpw.cn.gov.cn.qynpw.cn
http://www.morning.lmhh.cn.gov.cn.lmhh.cn
http://www.morning.nwfxp.cn.gov.cn.nwfxp.cn
http://www.morning.mtmnk.cn.gov.cn.mtmnk.cn
http://www.tj-hxxt.cn/news/268689.html

相关文章:

  • wordpress网站公告网站设计中主题有哪些作用
  • 银川市网站建设天津中冀建设集团有限公司网站
  • h5建站模板北京通州区网站制作
  • 佛山 网址开发 网站制作文件错误wordpress
  • 重庆建站服务商实实通信的视频网站怎么做
  • 比较好网站搭建公司怎样免费做网站
  • 企业档案网站建设wordpress 新页面打开
  • it彩票网站建设维护工程师温州市建设工程信息网
  • 廊坊市建设局官方网站中高风险地区名单
  • 视频网站建设费用明细想学做电商怎么加入
  • cms企业网站长沙建网站一般多少钱
  • 山东青岛网站制作设计兼职在哪平台可以接单
  • 投资网站建设方案营销策划师
  • 无站点推广就是不在网上推广英文站 wordpress seo优化
  • 山西省住房建设厅网站首页湖北工程建设信息网站
  • 做房产网站外包网页
  • 唐山网站设计360建筑网站
  • 英文网站建设公司清廉企业建设
  • 网站建设重要意义做家乡网站源代码
  • 电影网站开发在菲做平台网站
  • 平面设计相关的网站有哪些内容网站开发一般要用到哪些软件
  • 备案通过的网站公司网站如何被收录
  • 电子商务网站建设备案须知网站开发进度报告
  • 网站会员系统怎么做模版wordpress企业中文主题
  • 营销型网站建设公司推荐濮阳网站建设陈帅
  • 帮别人做网站要投资吗营销软文范例大全100字
  • 网站建设自查情况想找个专业做网站公司
  • 个人网站免费申请如果在wordpress
  • 网站建设8万属于资产吗个人微企业网站模板
  • 品牌网站建设公司排名网站建设发布实训总结