{"id":23,"hash":"248e586e225607457899743162f6c293c8ca875a5ae573012f0069b87c9a9415","pattern":"fatal: refusing to merge unrelated histories","full_message":"fatal: refusing to merge unrelated histories","ecosystem":null,"package_name":"git","package_version":null,"solution":"Two branches share no common ancestor — git refuses by default.\n1. Force the merge: `git pull origin main --allow-unrelated-histories`.\n2. Confirm this is what you want (often happens when you init a new repo and push to an existing remote).\n3. Resolve conflicts after the merge if any.","confidence":0.95,"source":"internal","source_url":null,"votes":24,"created_at":"2026-04-19T03:24:37.004129+00:00","updated_at":"2026-04-19T03:25:24.790534+00:00"}