发布于 

本地仓库关联远程仓库

问题

本地仓库和远程仓库实际上是独立的两个仓库

解决方法

1.SourceTree 仓库设置

image-20210426142154650

2.执行命令

1
$git pull origin master --allow-unrelated-histories

命令作用:合并两个独立启动仓库的历史

image-20210426141846143