Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

how to change config?

Deleted user October 10, 2019

I am pushing a code and I am getting this error:

fatal: HttpRequestException encountered.
An error occurred while sending the request.
Password for 'https://ishakaria@bitbucket.org':
To https://bitbucket.org/ishakaria/alankar.git
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'https://ishakaria@bitbucket.org/ishakaria/alankar.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

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 11, 2019

Hi Isha, welcome to the Community!

According to the error message you got, seems like there was some work on the remote repository that was not yet pulled to your local. Did you follow the instructions and pulled the changes from your remote before pushing?

Please do that and let us know what happens next. If you continue experiencing difficulties, feel free to send us a screenshot so we can continue helping you.

Best regards,

Ana

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events