Skip to content
New issue

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

Automate setting the default branch name #7

Open
abea opened this issue Jul 28, 2020 · 0 comments
Open

Automate setting the default branch name #7

abea opened this issue Jul 28, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@abea
Copy link
Contributor

abea commented Jul 28, 2020

If the script runs something like git remote show origin | awk '/HEAD branch/ {print $NF}' it could retrieve the default branch name. That could replace the need to have a --branchoption. Though the default branch might still not always be the right one to use, so the--branch` option may still be necessary.

@abea abea added the enhancement New feature or request label Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant