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 dohint: not have locally. This is usually caused by another repository pushinghint: to the same ref. You may want to first integrate the remote changeshint: (e.g., 'git pull ...') before pushing again.hint: See the 'Note about fast-forwards' in 'git push --help' for details.
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
It looks like you're new here. Sign in or register to get started.