plasmabio / tljh-repo2docker

Plugin for The Littlest JupyterHub to build multiple user environments with repo2docker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Default branch name in repo

pierrepo opened this issue · comments

GitHub recently changed default branch name from master to main.

The default branch name taken into account by tljh-repo2docker is master. Could we possibly try / look for master or main as default branch name?

There was a similar discussion in the BinderHub repo: jupyterhub/binderhub#1170
It could be interesting to follow the same approach (there might be more hints by following linked issues and PRs).

But maybe it would also be fine to simply default to main for tljh-repo2docker.

But maybe it would also be fine to simply default to main for tljh-repo2docker.

Or with HEAD: jupyterhub/binderhub#1186

Woh this looks very clever!