Skip to contentSkip to conversation

An option to sign the push by default

DISCUSSION Agostino Sarubbo 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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.

Signature · 2 lines
Agostino Sarubbo
Gentoo Linux Developer
#1 lore raw
Quoted 7 lines · Agostino Sarubbo

Hello folks,

during the configuration of git, client side, to sign all commit I used:

git config --global commit.gpgsign "1"

Quoted 6 lines

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 :)

Quoted 13 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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html