Skip to content

Commit

Permalink
Add hint for GNUPGHOME environment variable
Browse files Browse the repository at this point in the history
With go-gitea#19732, the default location for the `.gnupg` folder has changed. To mitigate this breaking change, users can specify the home directory for gnupg via `$GNUPGHOME` environment variable to keep using their current location.
  • Loading branch information
justusbunsi authored Jun 25, 2022
1 parent 97bfabc commit 8c30ed2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/content/doc/advanced/signing.en-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ ideal UI and therefore subject to change.
**Since 1.17**, Gitea runs git in its own home directory `[repository].ROOT` and uses its own config `{[repository].ROOT}/.gitconfig`.
If you have your own customized git config for Gitea, you should set these configs in system git config (aka `/etc/gitconfig`)
or the Gitea internal git config `{[repository].ROOT}/.gitconfig`.
Related home files for git command (like `.gnupg`) should also be put in Gitea's git home directory `[repository].ROOT`.
Related home files for git command (like `.gnupg`) should also be put in Gitea's git home directory `[repository].ROOT`.\
If you like to keep the `.gnupg` directory outside of `{[repository].ROOT}/`, consider setting the `$GNUPGHOME` environment variable to your preferred location.


### `INITIAL_COMMIT`
Expand Down

0 comments on commit 8c30ed2

Please sign in to comment.