fallback branch does not work with different main branches across repos
axaluss opened this issue · 1 comments
axaluss commented
I am working with dozens of repos and each has a different default brach. Common default branches:
- develop
- main
- master
Git link frequently bails figuring out the correct default branch and remote platform (self hosted gitlab).
Proposed solution inspiration:
- add default fallback platform
- allow default branch and platform selection per repo and remember that setting per repository
- make the default branch a list of branch names e.g. main, master, develop and automatically figure out which actually exists, instead of having to pick just one for all repos
mcagl commented
I think that the third proposed solution will be the best one: a list of fallback branch names to try in sequence.