I am trying to push locally to pythonanywhere, but I can't get it to work.
I followed this blog post and reached the point of "Checking it worked" without it working.
After this: git remote add python username@ssh.pythonanywhere.com:/home/username/bare-repos/mysite.git
I tried to do git push -u python main
and I got an error remote: fatal: You are on a branch yet to be born
After that I did git push -u python main
and there were no errors.
This is the output:
Everything up-to-date
Branch 'main' set up to track remote branch 'main' from 'python'.
I don't know how to fix that and why it's not throwing an error anymore. Any help?