Skip to content

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