---
title: "Discussion on \"How to Fix fatal: refusing to merge unrelated histories\" | Hashnode"
description: "Discussion on \"How to Fix fatal: refusing to merge unrelated histories\". Have you ever encountered this error fatal: refusing to merge unrelated histories., while working with git? Well, I have and it wasn't fun. How did I get to that error, you may ask yourself.\nThis was"
url: "https://hashnode.com/posts/how-to-fix-fatal-refusing-to-merge-unrelated-histories/6a7eba6bd9a9edcc97eceb16"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Fix fatal: refusing to merge unrelated histories](https://blog.fredrick.dev/how-to-fix-fatal-refusing-to-merge-unrelated-histories?utm_source=hashnode&utm_medium=feed)

Have you ever encountered this error fatal: refusing to merge unrelated histories., while working with git? Well, I have and it wasn't fun. How did I get to that error, you may ask yourself. This was

Aug 14 · 2 min read · blog.fredrick.dev  
Read the article

## Written by

[Fredrick Abisai](https://hashnode.com/@fredabisai)

@fredabisai · Tanzania

  
[View profile](https://hashnode.com/@fredabisai)

Javascript, React, Angular, Nodejs, PHP, Laravel

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
