You can do
git log
first to check which commit message you want to revert to.
For example 'xxxxx123' is the commit id we want to revert to.
Then do:
git revert --no-commit xxxxx123..HEAD
git commit
You can do
git log
first to check which commit message you want to revert to.
For example 'xxxxx123' is the commit id we want to revert to.
Then do:
git revert --no-commit xxxxx123..HEAD
git commit
上一篇:[Git] A better git process
下一篇:[Git] git Ignore a File that has Already been Committed and Pushed
工作中遇到的GIT Revert问题分析及解决过程梳理
阿粉猜你不太知道这俩啥区别
答: git cherry-pick --abort
摘要reset(版本撤回
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M