hint: Updates were rejected because the tip of your current branch is behind hint: its remote counte

当git报这个错时 那来软的显然是不行了 我们这边只能先强制提交自己的代码上去 再拉取

git push -u origin 要推送的分支 -f

例如 我要推送给主分支 master
那就是

git push -u origin master -f

然后在重新拉取代码即可

猜你喜欢

转载自blog.csdn.net/weixin_45966674/article/details/126258217