1. Home
  2. Git
  3. Git Issues
  4. 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.

Was this article helpful to you? Yes 1 No 1
Welcome to tecadmin tutorials website