当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- The isolation level of transaction and its problems
- What kind of music do you need to make for a complete game?
- 2020-09-04:函数调用约定了解么?
- Summary of front-end performance optimization that every front-end engineer should understand:
- File download manager realized by electron
- Unexpected element.. required element
- Code generator plug-in and creator preform file analysis
- 超高频RFID医疗血液管理系统应用
- What grammar is it? ]
- Open source a set of minimalist front and rear end separation project scaffold
猜你喜欢

2020-08-17:详细说下数据倾斜怎么解决?

Exclusive interview of guests at | 2020 PostgreSQL Asia Conference: Wang Tao

Elasticsearch database | elasticsearch-7.5.0 application construction

消防器材RFID固定资产管理系统

2020 database technology conference helps technology upgrade

2020-09-04:函数调用约定了解么?

ado.net和asp.net的关系

The role of theme music in games

2020-08-19:TCP是通过什么机制保障可靠性的?
![[elastic search engine]](/img/3b/00bc81122d330c9d59909994e61027.jpg)
[elastic search engine]
随机推荐
2020-08-17:详细说下数据倾斜怎么解决?
The 4th China BIM (digital construction) manager Summit Forum will be held in Hangzhou in 2020
window系统 本机查找端口号占用方法
ado.net和asp.net的关系
Code generator plug-in and creator preform file analysis
An article taught you to download cool dog music using Python web crawler
嘉宾专访|2020 PostgreSQL亚洲大会阿里云数据库专场:曾文旌
Share with Lianyun: is IPFs / filecoin worth investing in?
Road to simple HTML + JS to achieve the most simple game Tetris
Some operations kept in mind by the front end foundation GitHub warehouse management
打工人好物——磨炼钢铁意志就要这样高效的电脑
Why is quicksort so fast?
Using iceberg on kubernetes to create a new generation of cloud original data Lake
Epu360: all the H5 templates you want are here, e-book, big turntable, red envelope rain, questionnaire survey
Zero basis to build a web search engine of its own
行为型模式之解释器模式
Pn8162 20W PD fast charging chip, PD fast charging charger scheme
To Lianyun analysis: why is IPFs / filecoin mining so difficult?
What is the tensor in tensorflow?
An article takes you to understand CSS pagination examples