The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How do I fix this error

YudhishtaDhayalan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 22, 2018

fatal: remote origin already exists.

Developers-Mac-mini:RedTone Ring-3 YudhistaDhayalan$ git push -u origin --all

To https://bitbucket.org/YudhishtaDhayalan/apppppp.git

 ! [rejected]        master -> master (fetch first)

error: failed to push some refs to 'https://YudhishtaDhayalan@bitbucket.org/YudhishtaDhayalan/apppppp.git'

hint: Updates were rejected because the remote contains work that you do

hint: not have locally. This is usually caused by another repository pushing

hint: to the same ref. You may want to first integrate the remote changes

hint: (e.g., 'git pull ...') before pushing again.

hint: See the 'Note about fast-forwards' in 'git push --help' for details.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
September 22, 2018

That's not really a Bitbucket error, it's Bitbucket telling you what git has told it about the push.  You need to follow the advice in the hint it has given you.

TAGS
AUG Leaders

Atlassian Community Events