Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.2k views
in Technique[技术] by (71.8m points)

git - GitHub repo doesn't update

I made some changes involving a reset to the penultimate commit, followed by a change, a re-commit, and a tag change. Whereas I had just released v1.0 on GitHub, I needed to fix something. So after cloning, I ran

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

However, these changes don't appear on GitHub's interface. I can see that the changes were pushed, and they are even present if I clone a fresh copy of the repo. However, GitHub's graphical interface doesn't show the change.

The repo in question is https://github.com/The-Penultimate-Defenestrator/mathquill-evaluate

How can I fix this behavior?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

If your last commit appears when you pull the branch again then I think you should not worry, seem that github facing issues on server and cannot update the commit status. I have the same problem an hour ago but after a while, my new commit showed as normal.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...