# An option to sign the push by default

2 messages from 2015-08-09 to 2015-08-13. Participants: Agostino Sarubbo, Dave Borowitz.
Thread: https://gitlist.dev/t/40041

## Agostino Sarubbo, 2015-08-09 16:57

Subject: An option to sign the push by default
Message-ID: <2404018.OElJjohJ7Q@arcadia>
URL: https://gitlist.dev/e/2404018.OElJjohJ7Q%40arcadia

```
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, 2015-08-13 19:02

Subject: Re: An option to sign the push by default
Message-ID: <CAD0k6qRh=E12kbpcwW-_GLQ9AmTNsfhnEgE4QtH7v50Zbn5_Fw@mail.gmail.com>
URL: https://gitlist.dev/e/CAD0k6qRh%3DE12kbpcwW-_GLQ9AmTNsfhnEgE4QtH7v50Zbn5_Fw%40mail.gmail.com
In-Reply-To: <2404018.OElJjohJ7Q@arcadia>

```
On Sun, Aug 9, 2015 at 12:57 PM, Agostino Sarubbo <ago@gentoo.org> wrote:
> 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 :)

> 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

```
