问题总结

问题 1:git 提交时报如下错误

                To github.com:Anthony-Duan/hbasetrain.git
                ! [rejected] master -> master (non-fast-forward)
                error: failed to push some refs to 'git@github.com:Anthony-Duan/hbasetrain.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 'Note about fast-forwards' in 'git push --help' for details.

            解决方法:直接使用命令 git pull origin master (前提你的分支名为origin)    
       

posted @ 2019-09-05 15:55  gamecc666  阅读(112)  评论(0编辑  收藏  举报