Skip to content

Enable fetching git default branch dynamically instead of settings #128

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

keymastervn
Copy link

@keymastervn keymastervn commented Nov 10, 2023

Given the context that I have been working on multiple repos with different default branches, I've recently faced errors no on uncommitted branches.

Screenshot 2023-11-10 at 18 40 22

The cmd of Github: Blame (default branch) calling to main concretely instead of master or development (depending on which repo) is untrue.

By configuring "default_branch": "", this PR is now dynamically allowing us to fetch the true default branch which is defined by the active git repo. Hence we can enjoy Github: Blame (default branch) when working in pre-push style.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant