Show detached HEAD in graph
Describe the feature that you'd like HEAD is not available in the branches list. As a result, when operating in a detached HEAD state, the HEAD does not appear in the graph if it is not also a commit that can be reached as an existing branch.
However, a commit from this state will result in the graph no longer showing the detached HEAD and latest commit
Additional context (optional)
For example, checkout the current "x" branch detached and the commit is visible in the tree with the commit text in bold, but the branch name unbolded. For example:

after committing on top of detached head:

I'm not sure I understand? The name in this case ("x") is the branch name, but the branch isn't checked out, the commit is.
e.g. git status reports HEAD is detached.
c:\dev\libraries>git status HEAD detached from 43ae4df6
From: Tim @.> Sent: Thursday, April 20, 2023 23:37 To: mhutchie/vscode-git-graph @.> Cc: Brad Litterell @.>; Author @.> Subject: Re: [mhutchie/vscode-git-graph] Show detached HEAD in graph (Issue #678)
I think the name should be bold and the x should be HEAD.
Reply to this email directly, view it on GitHubhttps://github.com/mhutchie/vscode-git-graph/issues/678#issuecomment-1517337945, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALWO3TWYHPN3LXY236BYXXDXCITIZANCNFSM54WWIPQQ. You are receiving this because you authored the thread.Message ID: @.@.>>
Yeah sorry I misunderstood. I think the issue I've found is that if you have a detached head (heh) with uncommited changes then the commit isn't bold and it's quite hard to find the HEAD commit. The only indication is the little dot, which I didn't actually notice until I looked at the code.
I have implemented a "scroll to HEAD" feature which I think is pretty useful and makes it easier to find the current commit. It's useful even when you're on a branch if it's quite far back in history.
Would you be interested in a PR?