git reset the previous commit and everything committed after that

前端 未结 0 1314
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-28 12:23

i want to revert back to the last commit in git so i used ~

$git reset --hard
HEAD is now at 86f1867 .

then i tried to commit the changes

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