当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- Kubernetes and OAM to build a unified, standardized application management platform knowledge! (Internet disk link attached)
- The essence of transaction and the principle of deadlock
- ado.net和asp.net的关系
- MRAM高速缓存的组成
- 2020-09-09:裸写算法:两个线程轮流打印数字1-100。
- STM32F030C6T6兼容替换MM32SPIN05PF
- This project allows you to quickly learn about a programming language in a few minutes
- Road to simple HTML + JS to achieve the most simple game Tetris
- 2020-08-30:裸写算法:二叉树两个节点的最近公共祖先。
- An article takes you to understand CSS gradient knowledge
猜你喜欢

【涂鸦物联网足迹】物联网基础介绍篇

A small goal in 2019 to become a blog expert of CSDN

Take you to learn the new methods in Es5

How does filecoin's economic model and future value support the price of fil currency breaking through thousands

An article takes you to understand CSS pagination examples

Introduction to the development of small game cloud

非易失性MRAM存储器应用于各级高速缓存

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

How much disk space does a new empty file take?

ES6 learning notes (3): teach you to use js object-oriented thinking to realize the function of adding, deleting, modifying and checking tab column
随机推荐
递归、回溯算法常用数学基础公式
谷歌浏览器实现视频播放加速功能
Windows 10 蓝牙管理页面'添加蓝牙或其他设备'选项点击无响应的解决方案
ES6 learning notes (5): easy to understand ES6's built-in extension objects
The method of realizing high SLO on large scale kubernetes cluster
预留电池接口,内置充放电电路及电量计,迅为助力轻松搞定手持应用
A concise tutorial for Nacos, ribbon and feign
2020 database technology conference helps technology upgrade
ES6 learning notes (2): teach you to play with class inheritance and class objects
打工人好物——磨炼钢铁意志就要这样高效的电脑
Introduction to the development of small game cloud
With this artifact, quickly say goodbye to spam messages
C calls SendMessage to refresh the taskbar icon (the icon does not disappear at the end of forcing)
Open source a set of minimalist front and rear end separation project scaffold
Can you do it with only six characters?
Why is the LS command stuck when there are too many files?
All the way, I was forced to talk about C code debugging skills and remote debugging
What the hell is fastthreadlocal? The existence of ThreadLocal!!
2020-08-18:介绍下MR过程?
[learning] interface test case writing and testing concerns