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

Good Day , Since yesterday we can no longer commit code into bitbucket with sourcetree.

Harry Vledder
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!
April 19, 2023

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks commit -q -F C:\Users\h.vledder\AppData\Local\Temp\rpvre0su.5nh
gpg: skipped "[short-key]": No secret key
gpg: signing failed: No secret key
error: gpg failed to sign the data
fatal: failed to write commit object

 

My collegue can push code , and that i can pull from the repository, But my local commits dont work any more

1 answer

1 accepted

0 votes
Answer accepted
Christian James April 19, 2023

Hi @Harry Vledder
The error message suggests that Git is trying to sign your commit with GPG, but it cannot find a secret key to use for signing. This is likely due to a configuration issue with your GPG key.

You can try generating a new GPG key and it will work I think.

Harry Vledder
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!
April 20, 2023

Thanks Christian , with your answer and  some Google it is now working again

Suggest an answer

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

Atlassian Community Events