From 580ca6c3fc41288e715b15ec04ca8a86dab8b189 Mon Sep 17 00:00:00 2001 From: Florian Hoss Date: Thu, 18 Apr 2024 14:19:43 +0200 Subject: [PATCH] Create README.md --- Git/README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Git/README.md diff --git a/Git/README.md b/Git/README.md new file mode 100644 index 0000000..8540044 --- /dev/null +++ b/Git/README.md @@ -0,0 +1,21 @@ +# Sign commits + +## Generate + +```sh +gpg --full-generate-key +``` + +## Copy key to clipboard + +```sh +gpg --list-keys +# Mac: +gpg --armor --export 913C42CFA493DCF45FA65B464B6598BF5707D5A4 | pbcopy +# Linux: +gpg --armor --export 913C42CFA493DCF45FA65B464B6598BF5707D5A4 | xclip -selection c +``` + +## Import to Gitlab/Gitea/Github + +check GUI