threads / discuss / 40041

An option to sign the push by default

Subject: An option to sign the push by default

## tl;dr

2 messages between Aug 9, 2015 and Aug 13, 2015.

replies: 1people: 2as markdown or json

Agostino Sarubbo· Aug 9, 2015, 16:57 UTC · lore
Hello folks,
during the configuration of git, client side, to sign all commit I used:
git config --global commit.gpgsign "1"
Since at push time I use:
git push --signed

I'm wondering if there is a git config option which put something in the config file and avoid to type --signed.

If there isn't this feature, I'd like to know if it is a reasonable feature request.

Thanks in advance.
-- 
Agostino Sarubbo
Gentoo Linux Developer
Dave Borowitz· Aug 13, 2015, 19:02 UTC · re: Agostino Sarubbo · lore

Re: An option to sign the push by default

On Sun, Aug 9, 2015 at 12:57 PM, Agostino Sarubbo <ago@gentoo.org> wrote:
Show 13 quoted lines
> Hello folks,
>
> during the configuration of git, client side, to sign all commit I used:
>
> git config --global commit.gpgsign "1"
>
>
> Since at push time I use:
>
> git push --signed
>
> I'm wondering if there is a git config option which put something in the
> config file and avoid to type --signed.
I agree this would be useful, and that's why I just implemented it today :)
Show 13 quoted lines
> If there isn't this feature, I'd like to know if it is a reasonable feature
> request.
>
> Thanks in advance.
>
>
> --
> Agostino Sarubbo
> Gentoo Linux Developer
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

← back to recent threads