I just create a new repo on github, I set it with command git remote add origin htpps://XXX
And when I try to push ... with git push origin main
... I have an error :
Updates were rejected because the remote contains work that you do not have locally. This is usually caused by another repository pushing to the same ref. You may want to first integrate the remote changes (e.g., 'git pull ...') before pushing again. See the 'Note about fast-forwards' in 'git push --help' for details.
It is a new repo, doesn't make sense…
I try to push my first things in a new remote repo.