git回退指定个commit

阅读量: searchstar 2022-09-19 19:28:05
Categories: Tags:

回退3个commit:

git reset --hard HEAD~3

来源:https://git-scm.com/docs/git-reset