Reset Git Branch to last commit? Rails
This question already has an answer here:
重置重置 - 确保您永久删除所有更改:
git log #get your last commit id
git reset --hard commit_id
链接地址: http://www.djcxy.com/p/3154.html
上一篇: 从本地删除不需要的文件并反向提交/合并
下一篇: 重置Git分支到上次提交? 轨道