必应池
Home / office-tools / Fix VSCode Git Authentication Failed on Windows - Fix Git 'refusing to merge unrelated histories' Error-Git Merge Unrelated Histories Without Losing Commits

Fix VSCode Git Authentication Failed on Windows - Fix Git 'refusing to merge unrelated histories' Error-Git Merge Unrelated Histories Without Losing Commits

Updated 2026-07-28 16:36:18office-tools
Fix VSCode Git Authentication Failed on Windows - Fix Git 'refusing to merge unrelated histories' Error-Git Merge Unrelated Histories Without Losing Commits
Likely symptom
Likely cause
Safe rollback

Verification route

  • Repeat the original action, not only a simplified test case.
  • Restart the app or reload the service after configuration changes.