当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- Exclusive interview with Alibaba cloud database for 2020 PostgreSQL Asia Conference: Zeng Wenjing
- An article will take you to understand CSS3 fillet knowledge
- How to play sortable JS vuedraggable to realize nested drag function of forms
- The 4th China BIM (digital construction) manager Summit Forum will be held in Hangzhou in 2020
- Exclusive interview of guests at | 2020 PostgreSQL Asia Conference: Wang Tao
- The role of theme music in games
- ORA-02292: 违反完整约束条件 (MIDBJDEV2.SYS_C0020757) - 已找到子记录
- Filecoin has completed a major upgrade and achieved four major project progress!
- Introduction to the development of small game cloud
- Interviewer: how about shardingsphere
猜你喜欢
Unexpected element.. required element
window系统 本机查找端口号占用方法
Stickinengine architecture 11 message queue
NAND FLASH的接口控制设计
Exclusive interview with Alibaba cloud database for 2020 PostgreSQL Asia Conference: Zeng Wenjing
An article takes you to understand CSS pagination examples
Interviewer: how about shardingsphere
Flink's datasource Trilogy: direct API
2020-08-18:介绍下MR过程?
How does cglib implement multiple agents?
随机推荐
vue3 新特性
Code generator plug-in and creator preform file analysis
What kind of music do you need to make for a complete game?
git远程库回退指定版本
【涂鸦物联网足迹】物联网基础介绍篇
Share with Lianyun: is IPFs / filecoin worth investing in?
The isolation level of transaction and its problems
Zhou Jie: database system of East China Normal University
Detect certificate expiration script
打工人好物——磨炼钢铁意志就要这样高效的电脑
JVM memory allocation - xms128m - xmx512m - XX: permsize = 128M - XX: maxpermsize = 512M
What is the meaning of sector sealing of filecoin mining machine since the main network of filecoin was put online
实用工具类函数(持续更新)
Will blockchain be the antidote to the global epidemic accelerating the transformation of Internet enterprises?
ES6 learning notes (4): easy to understand the new grammar of ES6
An article takes you to understand CSS pagination examples
Git rebase is in trouble. What to do? Waiting line
Common syntax corresponding table of mongodb and SQL
磁存储芯片STT-MRAM的特点
An article will introduce you to CSS3 background knowledge