Hacker News new | ask | show | jobs
by alain_gilbert 3731 days ago
Do you use the "git flow" feature of SourceTree ?

I have a hard time trying to sign my merge commit. (after a new release for example)

I wonder if you were able to do it ?

1 comments

Nope no git flow here sorry :)

Is it failing to give you the option to sign (UI bug)?

There is no UI that allows you to specify that you want the merge commit to be signed.

And if you configure git to sign all commits, you get this error:

https://confluence.atlassian.com/sourcetreekb/sourcetree-com...

For what it's worth, I had that same error message (OS X), and I managed to fix it. After using homebrew to make sure my git was up-to-date and gpg was also installed correctly, I told git where gpg is (for some reason, despite being in my PATH, it wasn't registering?): git config --global gpg.program /usr/local/bin/gpg

After that, I had to make a tweak to gpg so I didn't get another annoying error. In ~/.gnupg/gpg.conf, adding 'no-tty' got everything working smoothly.

I agree that that was way too tedious, but it did work out. :)

It looks like adding the no-tty in gpg.conf fixed it :D

Thank you !

No problem. :) I'm glad it worked out for you!
> There is no UI that allows you to specify that you want the merge commit to be signed.

Ah ok, I see what you mean. I don't think theres a way to have rebase re-sign things inside SourceTree either, I run in to that one constantly and have to open a terminal.