ccming
V2EX  ›  问与答

请教 WinXP git 命令行,如何提交到 github.com, 要设置账户密码么

  •  
  •   ccming · Mar 31, 2014 · 3342 views
    This topic created in 4469 days ago, the information mentioned may be changed or developed.
    我用 git push -u origin master 后,失败,
    fatal: unable to access
    Could not resolve host: github.com

    如果用github.com的安装程序里的git 命令行
    git remote add origin https://github.com/ccming/gitPractice.git
    提示 fatal: remote origin already exists.
    git push -u origin master
    fatal: unable to access "https....."
    Could not resolve host: github.com
    4 replies    1970-01-01 08:00:00 +08:00
    skydiver
        1
    skydiver  
       Mar 31, 2014 via Android
    你这是dns就没解析吧……
    yushiro
        2
    yushiro  
       Mar 31, 2014
    github 还不支持https方式提交, 要用git://
    Tink
        3
    Tink  
    PRO
       Mar 31, 2014 via iPhone
    解析不了地址啊
    treo
        4
    treo  
       Mar 31, 2014
    @yushiro 以前支持,msysgit 1.8.5不支持了,这是一个bug
    https://groups.google.com/forum/#!msg/msysgit/s4dB8Nv9V4c/55-cGPdPYmAJ
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2719 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 15:28 · PVG 23:28 · LAX 08:28 · JFK 11:28
    ♥ Do have faith in what you're doing.