mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-23 22:16:48 +00:00
refactor!: rename git-gpg-init => git-config-gpg
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
title: git-gpg-init
|
||||
homepage: https://webinstall.dev/git-gpg-init
|
||||
title: git-config-gpg
|
||||
homepage: https://webinstall.dev/git-config-gpg
|
||||
tagline: |
|
||||
Get your GnuPG Public Key.
|
||||
---
|
||||
@@ -24,7 +24,7 @@ Here we'll cover
|
||||
Usage:
|
||||
|
||||
```bash
|
||||
git-gpg-init
|
||||
git-config-gpg
|
||||
```
|
||||
|
||||
Example output:
|
||||
@@ -57,7 +57,7 @@ install:
|
||||
|
||||
```txt
|
||||
~/.config/envman/PATH.env
|
||||
~/.local/bin/git-gpg-init
|
||||
~/.local/bin/git-config-gpg
|
||||
~/Downloads/YOU.KEY_ID.gpg.asc
|
||||
```
|
||||
|
||||
@@ -104,7 +104,7 @@ See:
|
||||
|
||||
### How to manually set up git commit gpg signing
|
||||
|
||||
(this is what `git-gpg-init` does)
|
||||
(this is what `git-config-gpg` does)
|
||||
|
||||
Run [gpg-pubkey-id](./gpg-pubkey) to get your GnuPG Public Key ID and then
|
||||
update your `~/.gitconfig` to sign with it by default:
|
||||
@@ -3,7 +3,7 @@ set -e
|
||||
set -u
|
||||
|
||||
function __install_git_gpg_init() {
|
||||
MY_CMD="git-gpg-init"
|
||||
MY_CMD="git-config-gpg"
|
||||
|
||||
rm -f "$HOME/.local/bin/$MY_CMD"
|
||||
webi_download "$WEBI_HOST/packages/$MY_CMD/$MY_CMD.sh" "$HOME/.local/bin/$MY_CMD"
|
||||
+1
-1
@@ -52,7 +52,7 @@ gpg --list-secret-keys --keyid-format LONG
|
||||
|
||||
### How to configure git to sign commits
|
||||
|
||||
See the [Cheat Sheet](./git-gpg-init) at [gpg-pubkey](./git-gpg-init).
|
||||
See the [Cheat Sheet](./git-config-gpg) at [gpg-pubkey](./git-config-gpg).
|
||||
|
||||
### How to Export GPG Key for GitHub
|
||||
|
||||
|
||||
Reference in New Issue
Block a user