Git 1.8: it push error: dst ref refs/heads/master receives from more than one src

后端 未结 5 1640
野趣味
野趣味 2021-02-18 17:43

Another issue with git 1.8:

$ git push
error: dst ref refs/heads/master receives from more than one src.
error: failed to push some refs to \'gitosis@xxx.xx:xxx.         


        
5条回答
  •  盖世英雄少女心
    2021-02-18 18:16

    in my case I had a space in branch name:

    git push origin 353-applyPermissions :353-applyPermissions
    

    returns > error: dst ref refs/heads/353-applyPermissions receives from more than one src. but this one works:

    git push origin 353-applyPermissions:353-applyPermissions
    

提交回复
热议问题