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