Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add 'which gpg' for checking location of gpg binary #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Signing Commits/how-to.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
- `git config --global user.signingkey <key-id>`
- `git config --global commit.gpgsign true` This defaults to sign all your commit messages. Additionally, you can sign individual commits by passing the -S flag to the git commit command.
- `git config --global gpg.program <location of gpg.exe>` This tells git to use gpg program to sign commits. [IMPORTANT]
- For windows, location would be `C:\Program Files (x86)\GnuPG\bin\gpg.exe`, for linux, it would be `/usr/bin/gpg`.
- For windows, check the location with `where.exe gpg` usually the location would be `C:\Program Files (x86)\GnuPG\bin\gpg.exe`, for linux, check the location of `gpg` binary using `which gpg` in your terminal, usually the location would be `/usr/bin/gpg`.

### Step 3: Adding GPG Key to GitHub

Expand Down