git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags --set-upstream projeter master:masterPushing to https://bitbucket.org/BattleOfForce/ashwin/srcTo 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 behindhint: 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
It looks like you're new here. Sign in or register to get started.