Git提示 ! [remote rejected] master -> master (failure)

作者:J.sky · 发表于:
2023-05-09T20:10:37.000000Z
· 更新于:
2023-08-13T22:54:57.589618Z
· Tag: Git

今天愉快的写好了代码,准备提交,然后就这样了:

(base) bash-3.2$ git push github master
Counting objects: 5, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 484 bytes | 484.00 KiB/s, done.
Total 5 (delta 4), reused 0 (delta 0)
remote: Resolving deltas: 100% (4/4), completed with 4 local objects.
remote: fatal error in commit_refs
To https://github.com/bosichong/bosichong.github.io.git
! [remote rejected] master -> master (failure)
error: failed to push some refs to 'https://github.com/bosichong/bosichong.github.io.git'

Google搜索没有解答,stackoverflow查了一下,都是以前的记录,大体意思是GitHub的服务器挂了。我还是有点不信,然后去推特看了下GitHub的官方账号,也发布相应的公告,有关GitHub服务器的响应可以查看这个网站:https://www.githubstatus.com/ ,看来,我得过会才能提交代码了?先休息一下吧,或许GitHub正在重启那些成千上万的服务器:)所以这个问题的解决办法就是耐心等待啦。