There is no easy solution to switch, unfortunately ...
But maybe you will be pleased to create an alias for signed commits, for example:
$ git config --global alias.ptest '!git config user.signingkey KEY && git push --signed' $ git config --global alias.pdev '!git config user.signingkey KEY2 && git push --signed'
Arguments should be passed push without any problems.
source share