diff options
| author | Tigran Mkrtchyan <tigran.mkrtchyan@desy.de> | 2019-06-05 23:33:21 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2019-06-05 14:39:28 -0700 |
| commit | 1c6b565f896c27dc7c52aa3af9c7dcfc7934e8fe (patch) | |
| tree | 350d0bf7a190a6cd5527ea5afc8520354ca06ab2 /commit.c | |
| parent | Git 2.22-rc3 (diff) | |
| download | git-1c6b565f896c27dc7c52aa3af9c7dcfc7934e8fe.tar.gz git-1c6b565f896c27dc7c52aa3af9c7dcfc7934e8fe.zip | |
tag: add tag.gpgSign config option to force all tags be GPG-signed
As many CI/CD tools don't allow to control command line options when
executing `git tag` command, a default value in the configuration file
will allow to enforce tag signing if required.
The new config-file option tag.gpgSign is added to define default behavior
of tag signings. To override default behavior the command line option -s,
--sign and --no-sign can be used:
$ git tag -m "commit message"
will generate a GPG signed tag if tag.gpgSign option is true, while
$ git tag --no-sign -m "commit message"
will skip the signing step.
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions
