![远程拒绝] main -> main (failure) ,当尝试推送到存储库中的唯一分支时,未能推送一些引用

PrezOfTheUnitedIdiots

我正在研究这个不和谐机器人,我的存储库中只有 1 个分支,不需要更多。我以过去几周的方式打开了我的命令行,它说git --version这是错误的,但后来绕过它或其他东西,控制台开始工作。然后我对现有文件进行了一些调整,只是git status为了看看它是否可以添加到它的提交中。然后我做了git add *哪些工作,然后git commit -m "fixed negative number error"当我做git push origin main了我已经做了几个星期的事情时,它说

Enumerating objects: 15, done.
Counting objects: 100% (15/15), done.
Delta compression using up to 4 threads
Compressing objects: 100% (11/11), done.
Writing objects: 100% (11/11), 967 bytes | 483.00 KiB/s, done.
Total 11 (delta 8), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (8/8), completed with 4 local objects.
remote: fatal error in commit_refs
To https://github.com/andyforprez/exebot.git
 ! [remote rejected] main -> main (failure)
error: failed to push some refs to 'https://github.com/andyforprez/exebot.git'

并且它没有将该文件推送到存储库,即使在 VSCode 中该M标志消失了,就好像它确实推送了一样。

有什么建议?

Berg_Durden

Github 挂了。只需检查https://www.githubstatus.com/

显然它时不时地发生。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章