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

问题描述 投票:0回答:1

我在使用github桌面将代码推送到github时遇到此错误。我已附上图片。

enter image description here

github git-commit lint git-push github-desktop
1个回答
0
投票

所以我无法使用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

© www.soinside.com 2019 - 2024. All rights reserved.