The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events