On Tue, May 27, 2025, at 09:00, Ulrich Wittenberg wrote: > What happened instead? (Actual behavior) > The command returns absolutely nothing. This is the documented behavior for detached HEAD. It sounds like you want to know what branches point to the commit you are detached at? git for-each-ref --format='%(refname:short)' --points-at=HEAD refs/heads/ -- Kristoffer Haugsbakk