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 hint to GNUPGHOME environment variable #20134

Merged
merged 11 commits into from
Jul 10, 2022
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`.\
justusbunsi marked this conversation as resolved.
Show resolved Hide resolved
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