Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Push Code Error

Hello Atlassian Community,

I'm unable to push my code from sourceTree to a new remote repository in BitBucket. Attached is screenshot. Please help!!!!Push Code Error.PNG

1 answer

1 accepted

0 votes
Answer accepted
Mikael Sandberg Community Leader Dec 11, 2019

Hi @Mohammed Amer,

Welcome to Atlassian Community.

The error you get indicate that your local copy of the master branch is behind the remote master. In order to resolve that you first have to do a pull, and once that is done the push should work.

Hey @Mikael Sandberg , thanks for quick reply. I have already tried to pull but the pull button is greyed out and I was unable to proceed.

Mikael Sandberg Community Leader Dec 11, 2019

Try and do the pull from the command line. In Sourcetree, click on Terminal and from here run:

git pull

Suggest an answer

Log in or Sign up to answer

Atlassian Community Events