当前位置:网站首页>IDEA 代码开发完毕后,提交代码,提交后发现分支不对,怎么撤回
IDEA 代码开发完毕后,提交代码,提交后发现分支不对,怎么撤回
2022-06-23 03:55:00 【奶奶滴,为什么不学java】
第一步:git点击 重置HEAD

第二步:未提交的部分,输入要撤回的命令

HEAD~1 表示撤销最后一次提交
HEAD~2 表示撤销最后两次提交
HEAD~3 表示撤销最后三次提交,
以此类推
第三步:再次重新提交即可
边栏推荐
- 【微服务|Nacos】Nacos版本相关问题一览
- Economic development is driven by new technology
- 百度飞桨“万有引力”2022首站落地苏州,全面启动中小企业赋能计划
- Three tier architecture experiment
- LeetCode 797:所有可能的路径
- Laravel8 implementation of picture verification code
- Arduino flame sensor (with code)
- What is the average annual salary of an outsourced tester who has worked for 5-8 years?
- MVC三层架构
- Rtklib new version 2.4.3 B34 test comparison
猜你喜欢

Event log keyword: eventlogtags logtags

Rtklib new version 2.4.3 B34 test comparison

UI automation positioning edge -xpath actual combat

MVC三層架構

vmware网络连接出错Unit network.service not found

When SBAS encounters rtklib

BGP实验

飞桨框架v2.3发布高可复用算子库PHI!重构开发范式,降本增效

HCIP第五次作业

VMware network connection error unit network service not found
随机推荐
Cookie-Session讲解
Ams:startactivity desktop launch application
8年经验之谈:月薪3000到30000,测试工程师的变“行”记
HCIP 交换机实验
Automatically add watermark to screenshot
JSP入门级笔记
Missing essential plugin
Image noise reduction denoise AI
大环境不好难找工作?三面阿里,幸好做足了准备,已拿offer
Complete the primary school project in 3 days, and teach you to complete the weather broadcast system hand in hand!
架构师之路,从「存储选型」起步
What is the average annual salary of an outsourced tester who has worked for 5-8 years?
Go 分组 & 排序
代码片段管理器SnippetsLab
Mmdeploy quick installation and instructions
C语言栈实现
The propeller framework v2.3 releases the highly reusable operator library Phi! Restructure development paradigm to reduce cost and increase efficiency
如何进行探索性数据分析
servlet自学笔记
Introduction to s file generated by TEQC for GNSS data quality analysis