22 lines
331 B
Markdown
22 lines
331 B
Markdown
|
# 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
|