Shell/Bash: fatal: refusing to merge unrelated histories Example

By

Shell/Bash Example: This is the "fatal: refusing to merge unrelated histories" Example. compiled from many sources on the internet by SimpleTutorials.org

fatal: refusing to merge unrelated histories

git pull origin master --allow-unrelated-histories

fatal: refusing to merge unrelated histories

git pull --allow-unrelated-histories

fatal: refusing to merge unrelated histories

fatal: refusing to merge unrelated histories
solution:
git pull --allow-unrelated-histories

fatal: refusing to merge unrelated histories

git pull origin master --allow-unrelated-histories

fatal: refusing to merge unrelated histories

git pull origin master --allow-unrelated-histories
then when asked for merging vim editor opens click insert (i) type msg and :wq to save and exit

fatal: refusing to merge unrelated histories

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

fatal: refusing to merge unrelated histories

git pull origin branchname --allow-unrelated-histories

fatal: refusing to merge unrelated histories

git pull origin main --allow-unrelated-histories

fatal: refusing to merge unrelated histories

git pull origin master --allow-unrelated-histories

fatal: refusing to merge unrelated histories

git pull origin master --allow-unrelated-histories



* Summary: This "fatal: refusing to merge unrelated histories" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others