Files
nix/hosts/common/user/configs/console/git/commit-msg.sh
2024-07-08 20:01:55 +03:00

4 lines
147 B
Bash

git interpret-trailers --if-exists doNothing --trailer \
"Signed-off-by: $(git config user.name) <$(git config user.email)>" \
--in-place "$1"