git拒绝合并不相关的历史记录处理方法

发布于 2 年前·
0 人看过
·
约 1 分钟
·3 行代码

# 拉取远程仓库内容并合并且重写历史
git pull origin master --allow-unrelated-histories
git
$ cd ..