当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- ORA-02292: 违反完整约束条件 (MIDBJDEV2.SYS_C0020757) - 已找到子记录
- An article takes you to understand CSS pagination examples
- Introduction to Huawei cloud micro certification examination
- Understanding formatting principles
- What is the tensor in tensorflow?
- [self taught unity2d legendary game development] map editor
- Can you do it with only six characters?
- Take you to learn the new methods in Es5
- 行为型模式之备忘录模式
- NAND FLASH的接口控制设计
猜你喜欢
预留电池接口,内置充放电电路及电量计,迅为助力轻松搞定手持应用
Description of phpshe SMS plug-in
A small goal in 2019 to become a blog expert of CSDN
Unity performance optimization
PHP application docking justswap special development kit【 JustSwap.PHP ]
ES6 learning notes (5): easy to understand ES6's built-in extension objects
Method of code refactoring -- Analysis of method refactoring
How does cglib implement multiple agents?
To Lianyun analysis: why is IPFs / filecoin mining so difficult?
es创建新的索引库并拷贝旧的索引库 实践亲测有效!
随机推荐
How much disk space does a file of 1 byte actually occupy
Visual rolling [contrast beauty]
[elastic search engine]
Take you to learn the new methods in Es5
An article will introduce you to HTML tables and their main attributes
上海巨微专用蓝牙广播芯片
What the hell is fastthreadlocal? The existence of ThreadLocal!!
Python basic data type -- tuple analysis
Summary of common SQL statements
2020-08-19:TCP是通过什么机制保障可靠性的?
Vue communication and cross component listening state Vue communication
Zero basis to build a web search engine of its own
打工人好物——磨炼钢铁意志就要这样高效的电脑
To teach you to easily understand the basic usage of Vue codemirror: mainly to achieve code editing, verification prompt, code formatting
Big data processing black Technology: revealing the parallel computing technology of Pb level data warehouse gaussdb (DWS)
Message queue - Analysis
CloudQuery V1.2.0 版本发布
[byte jumps, autumn recruitment Posts open] ohayoo! Don't leave after school, I want to ask you to play games!!!
Can you do it with only six characters?
Exclusive interview with Alibaba cloud database for 2020 PostgreSQL Asia Conference: Zeng Wenjing