Hi there, I finally switched to using SSH for the Git repositories that I use in my PythonAnywhere accounts and for some reason am unable to use pull
though I believe I have things set up correctly. (Sorry if this is extremely amateur!)
When I open a console and try git pull
I am told that my remote branch doesn't exist. Specifically: Your configuration specifies to merge with the ref 'refs/heads/main'
from the remote, but no such ref was fetched.
In the console, I think look at my branches to see that there is an expected "main" branch.
$ git branch
* main
I then check the origin list and see perhaps a 'main'/'master' naming issue. I don't remember making this naming change, but perhaps it's an artifact of switching from HTTPS to SSH?
git ls-remote origin
19a65826ca4765cb389b95acf33cd493b7a2c23e HEAD
19a65826ca4765cb389b95acf33cd493b7a2c23e refs/heads/master
When I look at my branch list in this GitHub repository, I see only the expected main
branch.
Any help would be greatly appreciated — thanks! -Corey