We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm getting this error frequently....
TypeError: HEAD is a detached symbolic reference as it points to XXXXXXXXX
No way to avoid it, as I'm not in control of the system at hand.
But I still need the branch name.
Is there anyway to get the branch name even with a detached head?
The text was updated successfully, but these errors were encountered:
In fact there is no branch name if the HEAD reference is detached. Maybe this resource will be helpful to you.
HEAD
Before asking for the name, one could check for the state of the symbolic reference using the is_detached property.
is_detached
Please let me know if this solves it for you.
Sorry, something went wrong.
Closed due to inactivity. Please comment to get it reopened.
No branches or pull requests
I'm getting this error frequently....
No way to avoid it, as I'm not in control of the system at hand.
But I still need the branch name.
Is there anyway to get the branch name even with a detached head?
The text was updated successfully, but these errors were encountered: