gitee提交代码报错Push to origin/master was rejected 最近在提交代码时出现这个错误 解决方法: 进入自己的项目目录,右键GIT BASH Here注意项目目录 输入命令: git pull git pull origin master git pull origin master --allow-unrelated-histories