【发布时间】:2018-09-04 08:43:30
【问题描述】:
我目前有以下~/.gitconfig:
[gpg]
program = /usr/local/bin/krgpg
[commit]
gpgSign = true
[tag]
forceSignAnnotated = true
提交要求我使用 PGP 签名:
git commit -m "Add package.json"
Krypton ▶ Requesting git commit signature from phone
但是,我只想签署我的标签,并跳过签署提交。
问题:有什么方法可以让我配置 git 来只签署我的标签
我的意思是,没有别名:
$ git alias.tag 'tag -s'
【问题讨论】:
标签: git