g-viet / til

Today I learned
6 stars 0 forks source link

Git pull: "fatal: refusing to merge unrelated histories" #56

Open g-viet opened 5 years ago

g-viet commented 5 years ago

git pull origin master for the first time, and get this error:

fatal: refusing to merge unrelated histories

Solution:

git  pull origin master --allow-unrelated-histories