Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Push Code Error

Mohammed Amer December 11, 2019

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 Champion
December 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.

Mohammed Amer December 11, 2019

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 Champion
December 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
TAGS
AUG Leaders

Atlassian Community Events