From aff4450e6196100ad5fffb049e6b35e588c3ee8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?c=C4=83t=C4=83lin?= Date: Tue, 13 Feb 2024 16:47:46 +0100 Subject: [PATCH] feat: add ssh git signing config --- .gitignore | 1 + gitconfig | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/.gitignore b/.gitignore index fca1622..ae722cd 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ .dotter/cache.toml +.idea/ diff --git a/gitconfig b/gitconfig index 59c406f..9c5187c 100644 --- a/gitconfig +++ b/gitconfig @@ -1,20 +1,30 @@ [user] name = cătălin email = catalin@roboces.dev + signingKey = ~/.ssh/id_ed25519.pub [interactive] diffFilter = delta --color-only + [delta] navigate = true light = false + [merge] conflictstyle = diff3 + [diff] colorMoved = default external = difft + [commit] gpgsign = true + [push] autoSetupRemote = true + [init] defaultBranch = main + +[gpg] + format = ssh \ No newline at end of file