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
And probably introduce an environment variable e.g. HIT_DEFAULT_BRANCH to control this option?
HIT_DEFAULT_BRANCH
The text was updated successfully, but these errors were encountered:
I think it is better to get from the repository information to always have up-to-date instead of env vars 🙂
basename $(git rev-parse --abbrev-ref origin/HEAD)
^ This one seems to give us exactly that!
Sorry, something went wrong.
[#201] Switch the default branch to 'main'
56fec80
Resolves #201
b114239
[#201] Switch the default branch to 'main' (#202)
880efa2
* [#201] Switch the default branch to 'main' Resolves #201 * Update src/Hit/Git/Fresh.hs Co-authored-by: hint-man[bot] <44720633+hint-man[bot]@users.noreply.github.com> * Update src/Hit/Git/Branch.hs Co-authored-by: Dmitrii Kovanikov <[email protected]> * Use main at CI Co-authored-by: hint-man[bot] <44720633+hint-man[bot]@users.noreply.github.com> Co-authored-by: Dmitrii Kovanikov <[email protected]>
vrom911
Successfully merging a pull request may close this issue.
And probably introduce an environment variable e.g.
HIT_DEFAULT_BRANCH
to control this option?The text was updated successfully, but these errors were encountered: