Create README.md
This commit is contained in:
parent
199b376990
commit
580ca6c3fc
1 changed files with 21 additions and 0 deletions
21
Git/README.md
Normal file
21
Git/README.md
Normal file
|
@ -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
|
Loading…
Reference in a new issue