git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags --set-upstream projeter master:master
Pushing to https://bitbucket.org/BattleOfForce/ashwin/src
To https://bitbucket.org/BattleOfForce/ashwin/src
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'https://bitbucket.org/BattleOfForce/ashwin/src'
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.
Any idea?
Hi Ashwin! Looks like your local branch is out of sync with the tracking branch. Git is giving you the reason why it failed:
Updates were rejected because the tip of your current branch is behind its remote counterpart. Integrate the remote changes (e.g. 'git pull ...') before pushing again.
See the 'Note about fast-forwards' in 'git push --help' for details.
Have you followed those steps? If you are sure your local master has the latest changes you want on remote, then you can do git push --force –
Are you still having issues after that?
Kind regards,
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.