Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
Former Member
3 years agoIssue with Source Tree after turning on Git + 1Password signature feature
In source tree, each time a command is attempted, a pop up with this error show up:
'git log' failed with code 128:'error: unsupported value for gpg.format: ssh
fatal: bad config variable 'gpg.format' in file '/Users/xxx/.gitconfig' at line 22
The line of the file are:
[gpg]
format = ssh
1Password Version: 1Password 8.10.4 (81004032)
Extension Version: Not Provided
OS Version: Mac
Browser:_ Not Provided
7 Replies
- Former Member
Glad to hear the issue was resolved! Let me know if you run into anything else.
- XIIISuper Contributor
How would you update git?
I use Homebrew to do that:
https://brew.sh/
https://formulae.brew.sh/formula/git#default - Former Member
Well... I tried to update sourcetree through itself in the menubar. But that keeps failing. I went on the sourcetree website, redownloaded from fresh, unzip, overwrite the app in Applications. and now it works ! no idea what happened but im glad. FYI, the working version is now: Version 4.2.2 (250)
- Former Member
I am on mac osx Venture Version 13.3.1 (22E261).
How would you update git? Isnt as part of the xcode dev tools ?
- XIIISuper Contributor
That combination should work?
(Both seem a bit outdated though; I run SourceTree 4.2.2 (250) and git 2.40.1)
- Former Member
I have:
▶ git --version
git version 2.38.1
and source tree is version 4.1.7 (243)
- XIIISuper Contributor
Which version of git do you use?
You’ll need 2.34 or newer:
https://developer.1password.com/docs/ssh/git-commit-signing/
(I’m using the Homebrew installed version of git with SourceTree and signing commits works fine for me)