当前位置:网站首页>After the idea code is developed, the code is submitted. If the branch is found to be incorrect after submission, how can I withdraw it
After the idea code is developed, the code is submitted. If the branch is found to be incorrect after submission, how can I withdraw it
2022-06-23 05:24:00 【Grandma, why not learn java】
First step :git Click on Reset HEAD

The second step : Uncommitted parts , Enter the command you want to recall

HEAD~1 Means to cancel the last submission
HEAD~2 Means to cancel the last two submissions
HEAD~3 Means to cancel the last three submissions ,
And so on
The third step : Resubmit again
边栏推荐
猜你喜欢
随机推荐
Post processing of multisensor data fusion using Px4 ECL
MCS:离散随机变量——Uniform分布
第九章 APP项目测试(1)
九九乘法表.bat
What do Niu B programmers pay attention to when "creating an index"?
LeetCode-1757. 可回收且低脂的产品_SQL
618 how to break through the siege? Haier Zhijia: do a good job in digitalization of users
Image noise reduction denoise AI
C语言栈实现
Arduino flame sensor (with code)
H5 适配全面屏
GO语言-panic和recover
同步国内AOSP代码相关错误
基金业绩评价
组合式API-composition-api
MCS: discrete random variable Bernoulli distribution
MCS:连续随机变量——Chi-Square分布
如何进行探索性数据分析
搭建一套 gocd 的环境
关于DOS/DDOS攻击和防御









