问题遇到的现象和发生背景
提交文件到远程仓库报错
用代码块功能插入代码,请勿粘贴截图
git push github master
运行结果及报错内容
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'github.com:2020zina/zina.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.
我想要达到的结果
成功提价文件到远程仓库