gpt4 book ai didi

git - Gerrit :! [远程拒绝] HEAD -> refs/for/master(内部服务器错误)

转载 作者:行者123 更新时间:2023-12-05 03:15:05 26 4
gpt4 key购买 nike

它运行良好。现在,当我尝试 push

git push origin HEAD:refs/for/master

我明白了,

Counting objects: 5, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 310 bytes, done.
Total 3 (delta 1), reused 0 (delta 0)
remote: Resolving deltas: 100% (1/1)
remote: Processing changes: refs: 2, done
To ssh://vinoth.pramati@192.168.6.9:29412/gerrit_prj_1
**! [remote rejected] HEAD -> refs/for/master (internal server error)**
error: failed to push some refs to 'ssh://vinoth.pramati@192.168.6.9:29412/gerrit_prj_1'

在 gerrit_server 错误日志中,我看到了,

[2014-01-16 15:57:03,722] ERROR com.google.gerrit.server.git.ReceiveCommits : Only 0 of 1 new change refs created in gerrit_prj_1; aborting

我正在使用 gerrit 2.8.13

请帮忙

最佳答案

对我来说,只需从 ssh 登录到我的存储库就可以了>> ssh git@github.com它已连接,因为存储库 key 已经在我的计算机中。然后,git 将我的代码推送到 master>> git push origin master

关于git - Gerrit :! [远程拒绝] HEAD -> refs/for/master(内部服务器错误),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21159160/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com