当前位置:网站首页>Git remote library rollback specified version
Git remote library rollback specified version
2020-11-06 21:40:00 【Architects who can drive】
The operation process :
First look at the remote repository version , As shown in the figure below , Last submitted as 2018-03-19 22:16:25
First step : Use git log Command to view historical submissions , Select the version number to be rolled back ,commit The next string of characters , Here we choose to go back to commit 9d85ad9a……
The second step :git reset --hard 9d85ad9a Back to local version , And use git log See if the fallback is successful
The third step :git push -f Force fallback remote warehouse to current version
Check the remote warehouse version after operation , Find out 2018-03-19 22:16:25 The submission was missing , Remote warehouse fallback succeeded
Correlation extension :
版权声明
本文为[Architects who can drive]所创,转载请带上原文链接,感谢
边栏推荐
- Introduction to the development of small game cloud
- Kubernetes and OAM to build a unified, standardized application management platform knowledge! (Internet disk link attached)
- The essence of transaction and the principle of deadlock
- 2020-08-18:介绍下MR过程?
- 行为型模式之备忘录模式
- An article takes you to understand CSS3 picture border
- Method of code refactoring -- Analysis of method refactoring
- A small goal in 2019 to become a blog expert of CSDN
- html+ vue.js Implementing paging compatible IE
- 轻量型 GPU 应用首选 京东智联云推出 NVIDIA vGPU 实例
猜你喜欢
An article will take you to understand SVG gradient knowledge
NAND FLASH的接口控制设计
Erd-online free online database modeling tool
Countdown | 2020 PostgreSQL Asia Conference - agenda arrangement of Chinese sub Forum
Understanding formatting principles
Why is quicksort so fast?
Elasticsearch database | elasticsearch-7.5.0 application construction
迅为iMX6开发板-设备树内核-menuconfig的使用
The Interpreter pattern of behavior pattern
预留电池接口,内置充放电电路及电量计,迅为助力轻松搞定手持应用
随机推荐
Flink's datasource Trilogy: direct API
An article takes you to understand CSS pagination examples
Zhou Jie: database system of East China Normal University
#JVM 类加载机制
Code generator plug-in and creator preform file analysis
打工人好物——磨炼钢铁意志就要这样高效的电脑
2020-08-30:裸写算法:二叉树两个节点的最近公共祖先。
An article will take you to understand CSS3 fillet knowledge
The memorandum model of behavior model
谷歌浏览器实现视频播放加速功能
All the way, I was forced to talk about C code debugging skills and remote debugging
【涂鸦物联网足迹】涂鸦云平台全景介绍
2020-08-24:什么是小文件?很多小文件会有什么问题?很多小文件怎么解决?(大数据)
细数软件工程----各阶段必不可少的那些图
ES6 learning notes (3): teach you to use js object-oriented thinking to realize the function of adding, deleting, modifying and checking tab column
A concise tutorial for Nacos, ribbon and feign
Why is the LS command stuck when there are too many files?
How to start the hidden preferences in coda 2 on the terminal?
Stickinengine architecture 11 message queue
统计项目代码行数