- Notifications
You must be signed in to change notification settings - Fork 1
Branch is 'HEAD' in detached state #1
Copy link
Copy link
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Activity
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested
In detached HEAD state,
git rev-parse --abbrev-ref HEADreturnsHEAD.git log -n 1 --pretty=%D HEADcould be used to get all refs but which one do we choose?Maybe
branchshould just benullor an empty string in detached HEAD state?