ssh_exchange_identification: Connection closed by remote host under Git bash

后端 未结 26 2514
梦谈多话
梦谈多话 2021-01-30 08:57

I work at win7 and set up git server with sshd. I git --bare init myapp.git, and clone ssh://git@localhost/home/git/myapp.git in Cywgin

26条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-01-30 09:06

    I experienced this today and I just do a:

    12345@123456 MINGW64 ~/development/workspace/test (develop)
    $ git status
    Refresh index: 100% (1204/1204), done.
    On branch develop
    Your branch is up to date with 'origin/develop'.
    
    nothing to commit, working tree clean
    
    12345@123456 MINGW64 ~/development/workspace/test (develop)
    $ git fetch
    

    Then all worked again.

提交回复
热议问题