You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 27, 2022. It is now read-only.
In theory this could be extractable by git symbolic-ref refs/remotes/origin/HEAD (which reads the file .git/refs/remotes/origin/HEAD), but unfortunately if you change the default branch in GitHub, a git fetch/git pull doesn't update the default branch in that file (verified this behavior by running this). A user may need to manually reset it by running something like git symbolic-ref refs/remotes/origin/HEAD refs/remotes/origin/main.
Either being able to read that file (and documenting what the user needs to do to reset the default branch), or allowing a config file/env var to supply the the default branch would be useful.
No description provided.
The text was updated successfully, but these errors were encountered: