Open
Description
Is your feature request related to a problem? Please describe.
I have base branches with other names than "main" and "master".
Currently, I have to manually configure them my repositories.
Describe the solution you'd like
I would like to be able to set a list of branch names that would be used to detect the base branche (base_branche_names = ["main", "master", "develop", "mycustomnamethatnobodyuses"]
).
The base_branch
function
neogit/lua/neogit/lib/git/branch.lua
Lines 125 to 136 in 63124cf
Describe alternatives you've considered
I could use a global neogit.baseBranch
, but I would lose the autodetection of main
and master
Metadata
Assignees
Labels
No labels
Activity