Can't solve Could not resolve ref for gh:fredericfoulonlycee/math_spe_python/master

hello i m fred from france
a math teacher and i want to create a binder …
i allways have the error
Could not resolve ref for gh:fredericfoulonlycee/math_spe_python/master
the repo is :


where the erros is ?could you help me please ? i’m a newbe with binder

Hi! It’s because your default branch is called main, not master. Binder hasn’t yet caught up with the movement of changing the name of the default branch and is still hardcoded to search for master (we’re working on this!). On the mybinder.org Web-form, there is an option to enter a branch name. If you put main in there, it will know to look for the main branch.

thank you very much !
i think it’a a newbie error but i haven’t see it
sgibson91

No problem, we all start somewhere :slight_smile:

1 Like

Hello! I would like to integrate Binder on my notebook. I’ve tried to put the main in the git ref but I’m still facing the master branch error, It does not work either with the link and leaving the rest without setting any (defaults)

Spec is not of the form "user/repo/ref", provided: "https%3A%2F%2Fgitlab.inria.fr%2Fspicy%2Fpow/main". Did you mean "https%3A%2F%2Fgitlab.inria.fr%2Fspicy%2Fpow/main/master"?

I’ve checked that the repo is public and the conda configuration looks good (tested in win/linux)
Here is the link of the repository: pow@gitlab Do you have any idea ?

I am facing this problem (Could not resolve ref for gh:faridfarhat/downscaling-cmip76/main. Double check your URL. GitHub recently changed default branches from “master” to “main”. Did you mean the “master” branch?). Even I changed the branch to master/main, still same error.

Looking on github, there is no repository there. Is it perhaps private? Binder cannot use private repos.

Thank you very much,
Yes, it was a private repository. That was the main issue.