From 07cf1d25c22515baa49faad28d31de3cac9bc8cd Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 19 Nov 2021 09:33:58 +0000 Subject: [PATCH] refactor!: rename git-gpg-init => git-config-gpg --- {git-gpg-init => git-config-gpg}/README.md | 10 +++++----- .../git-config-gpg.sh | 0 {git-gpg-init => git-config-gpg}/install.sh | 2 +- gpg/README.md | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) rename {git-gpg-init => git-config-gpg}/README.md (96%) rename git-gpg-init/git-gpg-init.sh => git-config-gpg/git-config-gpg.sh (100%) rename {git-gpg-init => git-config-gpg}/install.sh (96%) diff --git a/git-gpg-init/README.md b/git-config-gpg/README.md similarity index 96% rename from git-gpg-init/README.md rename to git-config-gpg/README.md index 20d5504..e7906e4 100644 --- a/git-gpg-init/README.md +++ b/git-config-gpg/README.md @@ -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: diff --git a/git-gpg-init/git-gpg-init.sh b/git-config-gpg/git-config-gpg.sh similarity index 100% rename from git-gpg-init/git-gpg-init.sh rename to git-config-gpg/git-config-gpg.sh diff --git a/git-gpg-init/install.sh b/git-config-gpg/install.sh similarity index 96% rename from git-gpg-init/install.sh rename to git-config-gpg/install.sh index 691954d..b198bee 100644 --- a/git-gpg-init/install.sh +++ b/git-config-gpg/install.sh @@ -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" diff --git a/gpg/README.md b/gpg/README.md index 89f5a02..fc76f3f 100644 --- a/gpg/README.md +++ b/gpg/README.md @@ -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 -- 2.25.1