当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- What is the meaning of sector sealing of filecoin mining machine since the main network of filecoin was put online
- 代码重构之法——方法重构分析
- Zero basis to build a web search engine of its own
- Call analysis of start method in JNI thread and callback analysis of run method
- 超高频RFID医疗血液管理系统应用
- Markdown tricks
- Message queue - Analysis
- 意派Epub360丨你想要的H5模板都在这里,电子书、大转盘、红包雨、问卷调查……
- Code generator plug-in and creator preform file analysis
- What the hell is fastthreadlocal? The existence of ThreadLocal!!
猜你喜欢

【涂鸦物联网足迹】涂鸦云平台全景介绍

The Interpreter pattern of behavior pattern

Summary of front-end interview questions (C, s, s) that front-end engineers need to understand (2)

Windows 10 蓝牙管理页面'添加蓝牙或其他设备'选项点击无响应的解决方案

The native API of the future trend of the front end: web components

What the hell is fastthreadlocal? The existence of ThreadLocal!!

Take you to learn the new methods in Es5

Will blockchain be the antidote to the global epidemic accelerating the transformation of Internet enterprises?

How does cglib implement multiple agents?

ES6 learning notes (4): easy to understand the new grammar of ES6
随机推荐
Qt音视频开发46-视频传输UDP版
消防器材RFID固定资产管理系统
统计项目代码行数
Message queue - Analysis
To Lianyun analysis: why is IPFs / filecoin mining so difficult?
事务的本质和死锁的原理
Junit测试出现 empty test suite
MRAM高速缓存的组成
行为型模式之备忘录模式
image operating system windows cannot be used on this platform
Basic usage of Vue codemirror: search function, code folding function, get editor value and verify in time
An article takes you to understand CSS gradient knowledge
To solve the problem that the data interface is not updated after WPF binding set
This project allows you to quickly learn about a programming language in a few minutes
Event monitoring problem
Common syntax corresponding table of mongodb and SQL
The isolation level of transaction and its problems
Novice guidance and event management system in game development
ORA-02292: 违反完整约束条件 (MIDBJDEV2.SYS_C0020757) - 已找到子记录
What is the tensor in tensorflow?