DAOCLOUD
推荐学习书目
Python Cookbook
Using Google App Engine
推荐下载
Latest Google App Engine SDK
其他兼容技术
AppScale
evenkevin

哪位DX帮忙一下,git的问题

  •  
  •   evenkevin · Oct 19, 2010 · 6888 views
    This topic created in 5754 days ago, the information mentioned may be changed or developed.
    第一次上传,总是报错
    error: src refspec master does not match any.
    error: failed to push some refs to
    这是为啥阿?
    3 replies    1970-01-01 08:00:00 +08:00
    chuangbo
        1
    chuangbo  
       Oct 19, 2010
    如果只是使用 git push 的话,需要远端仓库相同分支已经有至少一次提交。
    因为远端可能还没有 master
    所以首次 push 需要类似于 git push origin master 以指定 remote 和 branch
    evenkevin
        2
    evenkevin  
    OP
       Oct 19, 2010 via iPod
    谢谢,已搞定
    chuangbo
        3
    chuangbo  
       Oct 19, 2010
    @evenkevin 不客气
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3972 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 05:23 · PVG 13:23 · LAX 22:23 · JFK 01:23
    ♥ Do have faith in what you're doing.