From fd2ba2771c3d6107f8e2994cadbb2f74c0e56d02 Mon Sep 17 00:00:00 2001 From: Koichi HARUNA Date: Sat, 10 Sep 2022 21:23:14 +0900 Subject: [PATCH] feat: sign git commit with ssh signature --- .config/git/config | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/git/config b/.config/git/config index 8f0b692..b2f89ad 100644 --- a/.config/git/config +++ b/.config/git/config @@ -1,6 +1,7 @@ [user] email = koichi.h+github@gmail.com name = Koichi HARUNA + signingKey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMXpM60ztW9WN7KYL7fnCA5mCNolkWh4Bq5CRcmoRG/E [push] default = simple @@ -28,3 +29,7 @@ [ghq] root = ~/go/src/ root = ~/ghq/ +[gpg] + format = ssh +[commit] + gpgsign = true