Clone works, remote push doesn't. Remote repository over copssh

前端 未结 4 1064
失恋的感觉
失恋的感觉 2020-11-30 09:16

I\'ve \"setup-a-msysgit-server-with-copssh-on-windows\", following Tim Davis\' guide and I was now learning how to use the git commands, following Jason Meridth\'s guide, an

4条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-30 09:51

    Thank you! I was also getting the error

    git: '/pathToRepo/myRepoName.git' is not a git command See 'git --help'.
    fatal: The remote end hung up unexpectedly
    

    the git config command worked for me.

    git config --global remote.origin.receivepack "git receive-pack"
    

    I am running MSysGit-1.7.3.1

提交回复
热议问题