To undo the last git commit push or the last 2

后端 未结 0 1192
盖世英雄少女心
盖世英雄少女心 2020-12-05 11:35

How do we undo the last git commit push or the last 2 pushes, by the easy reference that number ? i.e. for example something like

git revert -n1
git revert -n         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题