981377660LMT / ts

ts学习
6 stars 1 forks source link

Git报错 refusing to merge unrelated histories #496

Open 981377660LMT opened 4 months ago

981377660LMT commented 4 months ago

git pull origin master --allow-unrelated-histories 好了,之前好像动过远端的仓库地址

981377660LMT commented 4 months ago

出现这个问题的最主要原因还是在于本地仓库和远程仓库实际上是独立的两个仓库。