WassimBenzarti / colab-ssh

Connect to Google Colab using SSH
https://pypi.org/project/colab-ssh/
MIT License
981 stars 127 forks source link

will there be any bug due to change of github username previously? #93

Closed mldurga closed 3 years ago

mldurga commented 3 years ago

while I am trying to launch init_git_cloudflared its throwing error saying [git::ERROR] fatal: Remote branch main not found in upstream origin saying I need to check my username and password. I checked everything on my side. Is there any possibility that my change of username previously effects this code. I even tried with both old username and new one. both are failing. Its entirely possible that I am getting this error because of lack of knowledge from side. please ignore if it doesnt make any sense. thank you.

WassimBenzarti commented 3 years ago

Hello @mldurga, welcome to the colab-ssh community!

I think the error you are getting is probably because there is no branch named "main" in your repository. To verify that, go to your repository on github and find the defaut branch name, it's maybe called "master" (or even something else). In that case, take the branch name and put it in the optional parameter branch of the function init_git_cloudflared.

Hope it helps, keep me updated if you encountered any other issues.

mldurga commented 3 years ago

Thats really great. worked for me. Thank you Wassim.

mldurga commented 3 years ago

Being new to these types of software engineering, THough I could able to connect to remotely and could see all my github ipynb notebooks in vscode, I couldnt execute them or work on notebooks, its asking for install kernel from marketplace, I tried that too but couldnt proceed. Any learning tutorial you can direct me to understand full workdlow.

WassimBenzarti commented 3 years ago

Being new to these types of software engineering, THough I could able to connect to remotely and could see all my github ipynb notebooks in vscode, I couldnt execute them or work on notebooks, its asking for install kernel from marketplace, I tried that too but couldnt proceed. Any learning tutorial you can direct me to understand full workdlow.

We are currently preparing a series of tutorials on how to setup and use colab-ssh. For now, we would love it if you could provide us with some minimal reproduction steps so we can look into the issue you are having. I recommend opening a new issue so others facing the same problem can find a solution easily.

Have a nice day! :)