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

git creates 'main' as default branch #2025

Closed
0-wiz-0 opened this issue Dec 27, 2023 · 1 comment
Closed

git creates 'main' as default branch #2025

0-wiz-0 opened this issue Dec 27, 2023 · 1 comment

Comments

@0-wiz-0
Copy link

0-wiz-0 commented Dec 27, 2023

Please consider changing the default for --ref from master to main.

Reason:
I installed gollum for the first time today, pointed it at a freshly initialized git repository and tried adding files to it in the file system - but they were never visible on the web.
It took me some time to find out that gollum's web commits were to 'master' while mine were on 'main'.
Because the default branch for a new git repository is now 'main' (it was 'master' in the past).

I'm now running gollum --ref main path and it works, but this cost me some time to find out.

@dometto
Copy link
Member

dometto commented Dec 27, 2023

Hi @0-wiz-0! This should be fixed on the current master version of Gollum. If you want you can try this out by pulling the Docker image, but basically the new gem release (6.0) is long overdue, and this is another reason to release it soon.

@dometto dometto closed this as completed Dec 27, 2023
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