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

前端 未结 4 1062
失恋的感觉
失恋的感觉 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:46

    stupid fix (this changed /SSH/home/rvc/.gitconfig):

    rvc@RVC-DESKTOP /c/code/myapp (master)
    $ git config --global remote.origin.receivepack "git receive-pack"
    
    rvc@RVC-DESKTOP /c/code/myapp (master)
    $ git push
    Counting objects: 3, done.
    Delta compression using up to 4 threads.
    Compressing objects: 100% (2/2), done.
    Writing objects: 100% (2/2), 246 bytes, done.
    Total 2 (delta 0), reused 0 (delta 0)
    To ssh://rvc@192.168.1.65:5858/SSH/home/rvc/myapp.git
       680f32e..2da0df1  master -> master
    

提交回复
热议问题