在下面的Treminal中输入 git pull origin master --allow-unrelated-histories,然后重新push即可 这是因为本地库和远端库的内容不一致,没有关联导致的,远端库就会认为你和我无关,合并没门!