Detached head

Means

The head points to a commit not on the branch.

commit -m "....."
commit branch <temp_branch>
branch checkout <branch>
checkout merge <temp_branch>
merge branch -d <temp_branch>
Updated: 2026 Aug 19