IDEA在push到GitHub上出现push to origin/master was rejected 错误解决
找到项目位置,在项目文件夹中右键 git bash here然后在命令窗口中依次输入git pullgit pull origin mastergit pull origin master --allow-unrelated-histories最后在IDEA中重新进行pash,就可以成功了 。。...