美文网首页
git使用报错

git使用报错

作者: only_run | 来源:发表于2020-05-10 20:49 被阅读0次

    fatal: The upstream branch of your current branch does not match the name of your current branch.

    fatal: The upstream branch of your current branch does not match
    the name of your current branch.  To push to the upstream branch
    on the remote, use
    
        git push origin HEAD:master
    
    To push to the branch of the same name on the remote, use
    
        git push origin HEAD
    
    To choose either option permanently, see push.default in 'git help config'.
    

    方法1:git push origin dev/ft 指定异常分支push
    方法2:git push -u origin dev/ft 重新指定与远程同名的分支(推荐这种方式,执行之后以后就可以git push了)

    相关文章

      网友评论

          本文标题:git使用报错

          本文链接:https://www.haomeiwen.com/subject/dqesnhtx.html