1. Home
  2. Git
  3. Git Issues
  4. Git refusing to merge unrelated histories

Git refusing to merge unrelated histories

Use --allow-unrelated-histories option with git pull command to resolve issue fatal: refusing to merge unrelated histories

git pull origin master --allow-unrelated-histories

Here master is your remote branch name from pulling changes.