From c5c5bacef6838c1900875ce294d8983b8ac88285 Mon Sep 17 00:00:00 2001 From: Till Klampaeckel Date: Sun, 3 May 2026 21:46:47 +0200 Subject: [PATCH] feat(git): signed commits for tangled (maybe) --- dot_gitconfig | 7 +++++++ dot_gitconfig-tangled | 5 +++++ 2 files changed, 12 insertions(+) create mode 100644 dot_gitconfig-tangled 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 -- 2.51.2