summaryrefslogtreecommitdiffstats
path: root/docs/content
diff options
context:
space:
mode:
authorSteven Kriegler <61625851+justusbunsi@users.noreply.github.com>2022-07-10 11:04:46 +0200
committerGitHub <noreply@github.com>2022-07-10 17:04:46 +0800
commit9f3906b2a3ab410bfb16aa1b69484554b0601e5c (patch)
treec84bf790cff42f3e6c65127666dde9f21b09daad /docs/content
parent27e2def5f0390a9f8d1e059c83783f7d2abd0019 (diff)
downloadgitea-9f3906b2a3ab410bfb16aa1b69484554b0601e5c.tar.gz
gitea-9f3906b2a3ab410bfb16aa1b69484554b0601e5c.zip
Add hint to GNUPGHOME environment variable (#20134)
* Add hint for GNUPGHOME environment variable With #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. * Update docs/content/doc/advanced/signing.en-us.md Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: John Olheiser <john.olheiser@gmail.com> Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'docs/content')
-rw-r--r--docs/content/doc/advanced/signing.en-us.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/content/doc/advanced/signing.en-us.md b/docs/content/doc/advanced/signing.en-us.md
index 9ef94deb75..83a8b386b9 100644
--- a/docs/content/doc/advanced/signing.en-us.md
+++ b/docs/content/doc/advanced/signing.en-us.md
@@ -100,9 +100,9 @@ ideal UI and therefore subject to change.
**Since 1.17**, Gitea runs git in its own home directory `[git].HOME_PATH` (default to `%(APP_DATA_PATH)/home`)
and uses its own config `{[git].HOME_PATH}/.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 `{[git].HOME_PATH}/.gitconfig`.
-Related home files for git command (like `.gnupg`) should also be put in Gitea's git home directory `[git].HOME_PATH`.
-
+or the Gitea internal git config `{[git].HOME_PATH}/.gitconfig`.
+Related home files for git command (like `.gnupg`) should also be put in Gitea's git home directory `[git].HOME_PATH`.
+If you like to keep the `.gnupg` directory outside of `{[git].HOME_PATH}/`, consider setting the `$GNUPGHOME` environment variable to your preferred location.
### `INITIAL_COMMIT`