当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- Why is the LS command stuck when there are too many files?
- What kind of music do you need to make for a complete game?
- 2020-08-30:裸写算法:二叉树两个节点的最近公共祖先。
- Stickinengine architecture 12 communication protocol
- 行为型模式之备忘录模式
- 磁存储芯片STT-MRAM的特点
- NAND FLASH的接口控制设计
- C and C / C + + mixed programming series 5 - GC collaboration of memory management
- Call analysis of start method in JNI thread and callback analysis of run method
- How to manage the authority of database account?
猜你喜欢
Exclusive interview with Alibaba cloud database for 2020 PostgreSQL Asia Conference: Zeng Wenjing
Qt音视频开发46-视频传输UDP版
git远程库回退指定版本
2020-08-30:裸写算法:二叉树两个节点的最近公共祖先。
Countdown | 2020 PostgreSQL Asia Conference - agenda arrangement of Chinese sub Forum
嘉宾专访|2020 PostgreSQL亚洲大会阿里云数据库专场:曾文旌
Some operations kept in mind by the front end foundation GitHub warehouse management
The native API of the future trend of the front end: web components
Exclusive interview of guests at | 2020 PostgreSQL Asia Conference: Wang Tao
To teach you to easily understand the basic usage of Vue codemirror: mainly to achieve code editing, verification prompt, code formatting
随机推荐
2020-08-14:数据任务的执行引擎用的哪些?
Visual rolling [contrast beauty]
ORA-02292: 违反完整约束条件 (MIDBJDEV2.SYS_C0020757) - 已找到子记录
Stickinengine architecture 11 message queue
ES6 learning notes (4): easy to understand the new grammar of ES6
小熊派开发板实践:智慧路灯沙箱实验之真实设备接入
An article will introduce you to CSS3 background knowledge
File download manager realized by electron
What grammar is it? ]
上海巨微专用蓝牙广播芯片
The 4th China BIM (digital construction) manager Summit Forum will be held in Hangzhou in 2020
Contract trading system development | construction of smart contract trading platform
All the way, I was forced to talk about C code debugging skills and remote debugging
超高频RFID医疗血液管理系统应用
Code generator plug-in and creator preform file analysis
Zhou Jie: database system of East China Normal University
jenkins安装部署过程简记
An article takes you to understand CSS pagination examples
打工人好物——磨炼钢铁意志就要这样高效的电脑
GitHub: the foundation of the front end