sublime-github icon indicating copy to clipboard operation
sublime-github copied to clipboard

Enable fetching git default branch dynamically instead of settings

Open keymastervn opened this issue 2 years ago • 0 comments

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.

keymastervn avatar Nov 10 '23 11:11 keymastervn