How to Fix the Git Error 'fatal: refusing to merge unrelated histories.'

preview_player
Показать описание
In this video I explain why you are getting the "fatal: refusing to merge unrelated histories" Git error when you try to push to Github and I show you two ways to fix it. The first way isn't my recommended way (delete your Github repo), but second way is my recommended way (pull, fix merge conflicts, commit and push). So in this video I also show you how to fix a merge conflict :)
Рекомендации по теме
Комментарии
Автор

Good energetic, friendly video. Clear explanation, lots of info and useful context. Thank you!

universe-ity
Автор

Can't thank you enough!! This caused me more frustration then I care to admit

joelewis.
Автор

Best explanation. Thank you very much Gina.

AbdullahTaherAbubakar
Автор

you are amazing. thank you for sharing this very valuable content. very good teacher and you're so easy to listen too.

jonassss
Автор

It was the first time I was pushing the code today and I got this issue... Hell.. i should have checked this earlier than hitting my head on the desk. Thank you!!

pabitra_swain
Автор

thanks! it was getting really frustrating and this really helped. thanks again

libamlakbirhanu
Автор

Thank you very much, because I had this problem and spent too much time looking for a way to solve it, it was really helpful, thank you very much.

jhonatanguerrerosanabria
Автор

Thank you a lot. Your video helped me to resolve my problem.

tatianadmitrieva
Автор

Thank you so much! Made me understand so many things <3

nafisnawalnahiyan
Автор

Hi tell me please Why i don't emerge? May be i did something wrong, Git was showed me git merge --no-ff feature/earlyorder
merge: feature/earlyorder - not something we can merge what should 1 do? Thank you for answer

romanprohorov
Автор

Thank you for the helpfull video, i was stuck for two days. but after watching this, I managed to resolv my problem

mbajerwakaeric
Автор

thank you so much, saved from lots of trouble

adityaband
Автор

Best resolve for my situation thanks alot

Aicorners_info
Автор

what if i have more than 20 conflicts ...it will take long time to fix the merge..

sagarsiwakoti
Автор

Hi there. This helped in fixing my errors. Bless you

ikenjokudc
Автор

was really helpfull, I took the dirty way btw 😅

dev_troy