I have created a local repo and when I try to push the code to the remote repo I get these following errors!
git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags --set-upstream demo master:master
Pushing to https://bitbucket.org/MosesMj1997/demo/src/master/
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'https://bitbucket.org/MosesMj1997/demo/src/master/'
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.
Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events