I'm trying to move a local repository to bitbucket, I'm following this tutorial but when I do
git push --all bitbucket
I got the following meessage error:
To https://bitbucket.org/growtec/offshore.git
! [rejected] Leonardo -> Leonardo (fetch first)
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'https://lrslima@bitbucket.org/growtec/offshore.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
I'm on master branch and I already did a git pull
but the output was the Everything up-to-date.
I saw this question but it didn't work for me