Skip to content
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

fallback branch does not work with different main branches across repos #290

Open
axaluss opened this issue Apr 11, 2023 · 1 comment
Open

Comments

@axaluss
Copy link

axaluss commented Apr 11, 2023

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
Copy link

mcagl commented May 19, 2023

I think that the third proposed solution will be the best one: a list of fallback branch names to try in sequence.

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

No branches or pull requests

2 participants