情况:
IDEA gi插件push报错 Push to origin/master was rejected
解决办法:尝试了网上很多办法,最后通过IDEA 终端 通过git bash才上传成功,情况不明,先做一个小记录,下次再试。
步骤:
git pull
git pull origin master –allow-unrelated-histories
git push -u origin master -f
情况:
IDEA gi插件push报错 Push to origin/master was rejected
解决办法:尝试了网上很多办法,最后通过IDEA 终端 通过git bash才上传成功,情况不明,先做一个小记录,下次再试。
步骤:
git pull
git pull origin master –allow-unrelated-histories
git push -u origin master -f