Commit 7334d718 authored by Marcia Ramos's avatar Marcia Ramos

Merge branch 'mmarif4u/gitlab-ce-36859-update-gpg-docs-with-gpg2' into 'master'

Resolve "Update the docs for GPG for gpg2 - [secret key not available]"

Closes #36859

See merge request !14024
parents d1b60cbc ee6ca17c
---
title: Update gpg documentation with gpg2
merge_request: 13851
author: M M Arif
type: other
......@@ -31,6 +31,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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment