首页 > 技术文章 > git 撤销commint
langkyeSir 2021-09-15 14:05 原文
使用git命令取消已经commit且没有push的代码(无删代码)。
commit
push
git reset --soft HEAD^