git提交错误:Push rejected: Push to origin/master was rejected
解决办法:
切换到自己项目所在的目录,用Alt+F12
在Terminal窗口中依次输入命令:
git pull
git pull origin master
git pull origin master --allow-unrelated-histories
在项目中重新push自己的项目,ok 了.
git提交错误:Push rejected: Push to origin/master was rejected
解决办法:
切换到自己项目所在的目录,用Alt+F12
在Terminal窗口中依次输入命令:
git pull
git pull origin master
git pull origin master --allow-unrelated-histories
在项目中重新push自己的项目,ok 了.