Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Seems SourceTree requires gpg2 exist but brewed gpg won't install it

Install gpg with `brew install gpg` and configure git to use it.


Then SourceTree keeps bothering

error: gpg failed to sign the data

fatal: failed to write commit object


While `git commit` in terminal doesn't


I have set the GPG program path `/usr/local/Cellar/gnupg/2.1.23/bin`


If I `ln -s gpg gpg2`, the problem solves


I don't want to use GPG Tools or something like that. So thank you for this hint, it saved my day ;-)

Andrew S Atlassian Team Sep 21, 2021

In which directory did you create that symlink?


Log in or Sign up to comment
Community showcase
Published in Sourcetree

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

78,657 views 134 29
Read article

Atlassian Community Events