Support for `--no-gpg-sign` in git rebase, cherry-pick, etc
- From
- Dominic Chen <d.c.ddcc@gmail.com>
- Date
- Mar 30, 2020, 20:03 UTC
- Message-ID
- <81aea443-6978-93d7-c5d3-98dd731a1fd8@gmail.com>
Hello,
The subcommand `git commit` supports a `--no-gpg-sign` argument, which I find useful for cases where e.g. a GPG key is specified in `.gitconfig`, but is located on a hardware key that may not currently be attached to the system. However, other commands like `git rebase`, `git cherry-pick`, etc, which internally invoke `git commit`, don't support this argument at all, making things more cumbersome. It'd be great if these other commands could also support this argument, and propagate it internally when calling `git commit`.
Thanks,
Dominic