Skip to content

Commit 8c30ed2

Browse files
authored
Add hint for GNUPGHOME environment variable
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.
1 parent 97bfabc commit 8c30ed2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/content/doc/advanced/signing.en-us.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ ideal UI and therefore subject to change.
100100
**Since 1.17**, Gitea runs git in its own home directory `[repository].ROOT` and uses its own config `{[repository].ROOT}/.gitconfig`.
101101
If you have your own customized git config for Gitea, you should set these configs in system git config (aka `/etc/gitconfig`)
102102
or the Gitea internal git config `{[repository].ROOT}/.gitconfig`.
103-
Related home files for git command (like `.gnupg`) should also be put in Gitea's git home directory `[repository].ROOT`.
103+
Related home files for git command (like `.gnupg`) should also be put in Gitea's git home directory `[repository].ROOT`.\
104+
If you like to keep the `.gnupg` directory outside of `{[repository].ROOT}/`, consider setting the `$GNUPGHOME` environment variable to your preferred location.
104105

105106

106107
### `INITIAL_COMMIT`

0 commit comments

Comments
 (0)