When I went to upload some codes, I came across the message.
This is the message showed in the Git Terminal.
$ git push origin master
fatal: credential-cache unavailable; no unix socket support
To https://bitbucket.org/kadu1248/teste-pratico-iniflex.git
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'https://bitbucket.org/kadu1248/teste-pratico-iniflex.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.
could you help me, because it is recurring?
G'day!
Welcome to the Bitbucket Cloud community.
The error message you are receiving is likely due to your remote repository commit history being ahead of your local repository commit history.
You will first need to pull the changes from your remote before attempting to push from your local by running the following commands so that they are in sync:
git pull
git push
Cheers!
- Ben (Bitbucket Cloud Support)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.