分类: Git

撤销Github上的提交

2016年7月11日

我的提交历史为 a->b->c->d,我想要令d消失。 [code lang=”bash”] git reset –hard d的标识符 git push -f [/code]