From 0b3d84627f028843db117a705889239840f23824 Mon Sep 17 00:00:00 2001 From: Igor Pitsyn Date: Mon, 9 Sep 2024 10:43:25 -0400 Subject: [PATCH] Changes according to PR review --- VERSION | 2 +- docs/configuration.md | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 012037873..27c7c7b9d 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.5.101.0 +2.5.1.0 diff --git a/docs/configuration.md b/docs/configuration.md index f6993dfd8..a4fecf395 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -633,6 +633,24 @@ git config --global credential.dpapiStorePath D:\credentials --- +### credential.gpgPassStorePath + +Specify a custom directory to store GPG-encrypted [pass][pass]-compatible credential files +in when [`credential.credentialStore`][credential-credentialstore] is set to `gpg`. + +Defaults to the value `~/.password-store` or `%USERPROFILE%\.password-store`. + +#### Example + +```shell +git config --global credential.gpgPassStorePath /mnt/external-drive/.password-store +``` + +**Note:** Location of the password store used by [pass][pass] can be overridden by the +`PASSWORD_STORE_DIR` environment variable, see the [man page][pass-man] for details. + +--- + ### credential.msauthFlow Specify which authentication flow should be used when performing Microsoft @@ -1042,6 +1060,7 @@ Defaults to disabled. [provider-migrate]: migration.md#gcm_authority [cache-options]: https://git-scm.com/docs/git-credential-cache#_options [pass]: https://www.passwordstore.org/ +[pass-man]: https://git.zx2c4.com/password-store/about/ [trace2-normal-docs]: https://git-scm.com/docs/api-trace2#_the_normal_format_target [trace2-normal-env]: environment.md#GIT_TRACE2 [trace2-event-docs]: https://git-scm.com/docs/api-trace2#_the_event_format_target