使用Github Desktop将代码推送到github时出现错误,无法推送一些引用

使用github桌面将代码推送到github时出现此错误。我已经附上了图片。

使用Github Desktop将代码推送到github时出现错误,无法推送一些引用

huzhuangc 回答:使用Github Desktop将代码推送到github时出现错误,无法推送一些引用

因此我无法使用github进行推送,但找到了解决方法。我已经使用命令行(git bash)为这个特定项目推送了代码。最初,git bash抛出了相同的错误“无法推送某些引用”。那是我的沙哑包装,不允许推。我使用了以下命令。

To push it forcefully,just run git push origin master --no-verify

并使用它来检查您的问题I ran npm run prepush to see debug the error

由于我使用的是ngx-admin,因此出现了一些掉毛错误。

如果在掉毛问题后遇到永久性解决方案,我将对此进行更新,但这目前非常有效。

您也可以参阅此帖子以供参考。我从其中一个答案中得到了提示。 failed to push some Refs

本文链接:https://www.f2er.com/2631439.html

大家都在问