摘要: 背景 在git上push了一个错误的信息和文件,需要撤销,公司使用Gerrit来自动化处理提交信息。 Gerrit 撤销提交 Gerrit提交信息中点击abandon 本地撤销 git git reset --soft HEAD~1 该命令,取消刚才的push,并保留暂存区(注意,只是本地,远程仓库 阅读全文
posted @ 2025-06-23 15:09 Greg_LYU 阅读(135) 评论(0) 推荐(0)