Closed chshersh closed 4 years ago
And probably introduce an environment variable e.g. HIT_DEFAULT_BRANCH to control this option?
HIT_DEFAULT_BRANCH
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!
And probably introduce an environment variable e.g.
HIT_DEFAULT_BRANCH
to control this option?