【问题标题】:An error while pushing推送时出错
【发布时间】:2014-11-07 06:33:06
【问题描述】:

我试图用

推送到一个善变的回购
~/pychess$ git push i175 branches/i175loc
searching for changes
no changes found
error: src refspec branches/i175loc does not match any.
error: failed to push some refs to 'hg::https://G.nius.ck@code.google.com/r/gniusck-pychess175/'

它甚至不要求我提供凭据。我正在使用 Git 2.1.0 和最新(在本文发布时)版本的 git remote hg。

【问题讨论】:

  • 你为什么要用 git 推送一个 mercurial repo?你不应该改用hg 吗?

标签: git mercurial push git-remote


【解决方案1】:

我从未尝试过 git remote hg。但是,您的命令似乎错误:您应该尝试

git push i175 i175loc

即:不要在分支名称前加上branches/

【讨论】:

    猜你喜欢
    • 2023-03-16
    • 2016-08-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-07-14
    • 2012-11-05
    • 1970-01-01
    相关资源
    最近更新 更多