51工具盒子

依楼听风雨
笑看云卷云舒,淡观潮起潮落

! [rejected] master -> master (non-fast-forward)Git推送本地分支到远程分支报错(

我的是因为 创建的respo里有内容(readme.md等),就会报错

To git@10.0.0.200:baimei/game.git
 ! [rejected]        master -> master (non-fast-forward)
error: failed to push some refs to 'git@10.0.0.200:baimei/game.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Merge the remote changes (e.g. 'git pull')
hint: before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.

先删除把

Git - Git推送本地分支到远程分支报错(! [rejected] non-fast-forward)的解决办法

赞(6)
未经允许不得转载:工具盒子 » ! [rejected] master -> master (non-fast-forward)Git推送本地分支到远程分支报错(