git 撤销在本地的提交

首先

git log

git 撤销在本地的提交_第1张图片
然后指定某个哈希值撤销

git revert  4cc948eddd153793d2817af362ed9bf0050cbac4

你可能感兴趣的:(分支管理,git)