git-committerconfig/README.md
2024-06-24 15:02:06 +02:00

16 lines
444 B
Markdown

# Luzifer / git-committerconfig
This is a small tool to automatically load different configs into a Git repo in order to set the right email and use the right keys to sign / push.
## Config format
```yaml
- match: github.com:MyOrg
email: me@myorg.com
keyname: myorg
signingkey: 'key::ssh-ed25519 A...1 myorg'
commit-opts: -s
```
The config is parsed from top to bottom, first matching entry (regexp) for the push-remote is applied.