在仓库目录下执行 git pull origin master --allow-unrelated-histories 之后就可以成功的pull,push了 转载于:https://www.cnblogs.com/jimaojin/p/7667830.html