hi guys,
I am trying to push code to bitbucket fro an Ubuntu os and getting this error...
To https://bitbucket.org/Dunkan50/commentsection.git
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'https://Dunkan50@bitbucket.org/Dunkan50/commentsection.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.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
i have tried most solutions offered but with no success.
Do a pull before you try to push again. You can do:
git pull origin master
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.