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

Don't hardcode 'master' into the link generator #337

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

yuvipanda
Copy link
Contributor

Just leaving it empty now checks out HEAD, which is the default branch.

Fixes #311

Just leaving it empty now checks out HEAD, which is the default
branch.

Fixes jupyterhub#311
Copy link
Member

@consideRatio consideRatio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wieee nice!

@manics
Copy link
Member

manics commented Jan 10, 2024

It looks like the Binder tab stlil requires a branch, do you consider this within the scope of this PR?

https://nbgitpuller--337.org.readthedocs.build/en/337/link.html
image

@yuvipanda
Copy link
Contributor Author

@manics ah damn, it looks like the environment repository branch in the binder generated is actually reused to in the default generator. This sucks, because they both actually need different behavior - mybinder.org understands HEAD, but nbgitpuller does not. Ugh...

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.

Change default Branch to Main
3 participants