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

Add Support for develop as a Default Branch #25

Merged
merged 1 commit into from
Jun 17, 2024
Merged

Add Support for develop as a Default Branch #25

merged 1 commit into from
Jun 17, 2024

Conversation

Jogge
Copy link
Contributor

@Jogge Jogge commented May 31, 2024

I've been working on repositories where the default branch is develop, and there is no main or master branch. I noticed that the current implementation of Open-on-GitHub does not support this configuration.

I understand that libgit2sharp, which Open-on-GitHub uses, does not yet support extracting the default remote branch. There is an open PR for this feature here: libgit2/libgit2sharp#1969.

In the meantime, I propose adding develop as the last possible default branch when neither main nor master has been matched.

@neuecc
Copy link
Owner

neuecc commented Jun 17, 2024

ok and thanks!

@neuecc neuecc merged commit a6f3c05 into neuecc:master Jun 17, 2024
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.

2 participants