【问题标题】:git Push local branch to remote, RPC failedgit 将本地分支推送到远程,RPC 失败
【发布时间】:2016-06-23 22:23:11
【问题描述】:

我知道执行我想要的操作的命令(将本地分支推送到远程存储库)但出现错误:

[root@XXX app-name]# git push -u origin SomeBranch
Password:
Counting objects: 21, done.
Compressing objects: 100% (11/11), done.
Writing objects: 100% (11/11), 260.55 KiB, done.
Total 11 (delta 10), reused 0 (delta 0)
error: RPC failed; result=22, HTTP code = 417

然后卡住了。怎么了?我正在通过 putty(从 Windows)连接到我的本地虚拟机(Centos 64),远程存储库位于另一台服务器中。

【问题讨论】:

    标签: git centos push branch git-remote


    【解决方案1】:

    我修好了。我不得不使用 SSH 而不是 http/https。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-10-25
      • 2013-06-10
      • 1970-01-01
      • 2016-02-22
      • 2018-05-02
      • 2011-09-10
      • 2016-07-08
      • 1970-01-01
      相关资源
      最近更新 更多