Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorM M Arif <gitea@fake.local>2017-09-01 16:55:18 +0300
committerAchilleas Pipinellis <axilleas@axilleas.me>2017-09-04 12:26:56 +0300
commitee6ca17c5f4950e62fb483fd56b43293d0f80fc3 (patch)
treec6550223c2c5eba7568c3bbd877cdfdd14482b1d /doc/user/project/repository/gpg_signed_commits/index.md
parentda426369fd7813bf5245e76b5322839442cdcb5f (diff)
Added changelog
Diffstat (limited to 'doc/user/project/repository/gpg_signed_commits/index.md')
-rw-r--r--doc/user/project/repository/gpg_signed_commits/index.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/user/project/repository/gpg_signed_commits/index.md b/doc/user/project/repository/gpg_signed_commits/index.md
index ff419d714f9..859de10590a 100644
--- a/doc/user/project/repository/gpg_signed_commits/index.md
+++ b/doc/user/project/repository/gpg_signed_commits/index.md
@@ -30,6 +30,16 @@ to be met:
## Generating a GPG key
+>**Notes:**
+- If your Operating System has `gpg2` installed, replace `gpg` with `gpg2` in
+ the following commands.
+- If Git is using `gpg` and you get errors like `secret key not available` or
+ `gpg: signing failed: secret key not available`, run the following command to
+ change to `gpg2`:
+ ```
+ git config --global gpg.program gpg2
+ ```
+
If you don't already have a GPG key, the following steps will help you get
started: