I'm new to git and I have a github repository where I want to commit changes to a python file and push . However after accesing my repository from an ubuntu vm now that I am back to windows 10 when I want to push I get
error: failed to push some refs to 'https://github.com/BillSkentos/MovieFlix2020_E17136_SKENTOS_VASILIS.git'
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart. Integrate the remote changes (e.g.
hint: 'git pull ...') before pushing again.
I'm completely new to git and tried git checkout master and tried pushing but to same result .
I would appreciate your help with this . Thank you in advance
git pullas there are changes in the remote that you do not have. It states so in the message :hint: 'git pull ...') before pushing again.