It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Getting this strange error. Edited

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?

1 answer

0 votes
Ana Retamal Atlassian Team Jul 08, 2018

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

4,902 views 0 12
Read article

Community Events

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

Events near you