收到推送后出现意外的系统错误 [英] Unexpected system error after push was received
问题描述
这里是尝试推送到github.com时收到的消息:
remote:接收到推送后意外的系统错误。
remote:这些更改可能不会反映在github.com上!
remote:您唯一的错误代码:abcdefghijklmnopqrstuvwxuz
现在github.com已经备份,当我在线查看项目提交历史记录时,我可以看到这些提交 没有被推送到回购站。
我想我可以用 git push origin master
再次推送这些更改,但我被告知一切都是最新的
。同样, git pull origin master
也显示所有内容都是最新的
。
如何将这些本地更改推送到我在github.com上的回购?
回答我自己的问题这么快,但有一点修补,这里有一个快速的工作,我发现: 正确刷新了提交历史记录为我的github.com回购。这应该是安全的,但在尝试之前,必须对本地代码进行备份。 There was some github.com down time today that I wasn't aware of until I went to push about one dozen local commits. Here's the message I received when trying to push to github.com: Now that github.com is back up, when I view the project commit history online, I can see these dozen commits have not been pushed up to the repo. I figured I could just push these changes again with How can I get these local changes pushed up to my repo on github.com? I hate to answer my own question so quickly, but with a little tinkering, here's a quick work around I discovered: This properly refreshed the commit history for my github.com repo. This should be safe to do, but definitely take a backup of your local code before trying it. 这篇关于收到推送后出现意外的系统错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
$ p $
git add foo.txt
git commit -m添加foo.txt
git push origin master
git rm foo.txt
git commit - m删除foo.txt
git push origin master
remote: Unexpected system error after push was received.
remote: These changes may not be reflected on github.com!
remote: Your unique error code: abcdefghijklmnopqrstuvwxuz
git push origin master
, but I am told Everything up-to-date
. Similarily a git pull origin master
also shows Everything up-to-date
.echo "bar" >> foo.txt
git add foo.txt
git commit -m "Add foo.txt"
git push origin master
git rm foo.txt
git commit -m "Remove foo.txt"
git push origin master