server-setup/Git/README.md

22 lines
331 B
Markdown
Raw Permalink Normal View History

2024-04-18 14:19:43 +02:00
# 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