Orphaned Git Tags with Squash Merge — Causes and Solutions for git describe Detection Failures
lin-yuchen2026.07.10
- * Squash merge causes feature branch tags to become orphaned and undetectable by git describe
- * Root cause: squash merge creates new commits with different SHAs, making original tags unreachable from main history
- * Solutions: create tags on main after squash merge, or repair existing orphaned tags using git tag -f
