diff --git a/dot_gitconfig b/dot_gitconfig index a6e4dcd..d0e51d9 100644 --- a/dot_gitconfig +++ b/dot_gitconfig @@ -44,6 +44,13 @@ [gpg] program = gpg +# tangled.sh / tangled.org only verify SSH commit signatures, not GPG. +# Override signing format for any repo with a tangled remote. +[includeIf "hasconfig:remote.*.url:**tangled.sh**"] + path = ~/.gitconfig-tangled +[includeIf "hasconfig:remote.*.url:**tangled.org**"] + path = ~/.gitconfig-tangled + [color "diff"] whitespace = red reverse diff --git a/dot_gitconfig-tangled b/dot_gitconfig-tangled new file mode 100644 index 0000000..4b15d86 --- /dev/null +++ b/dot_gitconfig-tangled @@ -0,0 +1,5 @@ +[gpg] + format = ssh + +[user] + signingkey = /Users/till/.ssh/id_rsa.pub