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

Problems with upload my files using my git CLI

KADU46550
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!
December 4, 2022

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?

1 answer

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 5, 2022

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)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events