git push代码报错
YuanTouo 2020-07-23 git报错处理
git push origin master出现以下报错
! [rejected] ------------------------------
error: failed to push some refs to 'xxx/xxx/xxx.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.
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
最快处理效果,不适用多人协作开发
粗暴、快速
git push origin master -f
1