【发布时间】:2016-05-24 01:27:09
【问题描述】:
我做了一些更改,包括重置倒数第二个提交,然后是更改、重新提交和标签更改。虽然我刚刚在 GitHub 上发布了 v1.0,但我需要修复一些问题。所以克隆后,我跑了
git reset HEAD^
git tag -d v1.0
# changed my file
git commit -am "Move to version 1.0" # the same commit message as the one I undid above
git tag v1.0
git push --force --follow-tags
但是,这些更改不会出现在 GitHub 的界面上。我可以看到更改已被推送,如果我克隆存储库的新副本,它们甚至会存在。但是,GitHub 的图形界面并没有显示更改。
有问题的回购是https://github.com/The-Penultimate-Defenestrator/mathquill-evaluate
如何解决此问题?
【问题讨论】: