• 请不要在回答技术问题时复制粘贴 AI 生成的内容
alexlah
V2EX  ›  程序员

使用 Github for Windows 上传代码失败

  •  1
     
  •   alexlah · Sep 26, 2014 · 7567 views
    This topic created in 4273 days ago, the information mentioned may be changed or developed.
    问题描述:

    创建repo,点击客户端右上角publish后出现error:Failed to publish this branch.

    不知道是什么原因?
    3 replies    2014-09-26 21:48:33 +08:00
    alexlah
        1
    alexlah  
    OP
       Sep 26, 2014
    打开git shell输入git push --set-upstream origin master后提示:

    fatal: Not a git repository:'.git'
    fatal: The remote end hung up unexpectedly
    gangsta
        2
    gangsta  
       Sep 26, 2014
    git init
    shyrz
        3
    shyrz  
       Sep 26, 2014
    编码错误会导致Github for Windows无法push
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4117 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 00:56 · PVG 08:56 · LAX 17:56 · JFK 20:56
    ♥ Do have faith in what you're doing.