Advertisement

解决办法 error failed to push some refs to github com xxxx git

阅读量:

在GitHub平台上完成远程仓库的建立之后,当尝试通过Git Bash工具将本地文件进行提交操作时,系统提示了以下错误信息:

复制代码
    $ git push origin master
    Fatal: HttpRequestException encountered.
    Username for 'https://github.com': syb666
    To https://github.com/syb666/Django-admin.git
     ! [rejected]        master -> master (non-fast-forward)
    error: failed to push some refs to 'https://github.com/syb666/Django-admin.git'
    hint: Updates were rejected because the tip of your current branch is behind
    hint: its remote counterpart. Integrate the remote changes (e.g.
    hint: 'git pull ...') before pushing again.
    hint: See the '

全部评论 (0)

还没有任何评论哟~