git-secret/_posts/2016-02-24-git-secret-reveal.md

29 lines
837 B
Markdown
Raw Normal View History

2016-02-22 21:06:34 +00:00
---
layout: post
title: 'git-secret-reveal'
2016-02-23 21:26:01 +00:00
date: 2016-02-24 00:26:00 +0300
2016-02-22 21:06:34 +00:00
categories: command
---
git-secret-reveal - decrypts all added files.
=============================================
## SYNOPSIS
git secret reveal [-d dir] [-p password]
## DESCRIPTION
`git-secret-reveal` - decrypts all the files in the `.gitsecret/paths/mapping.cfg` by running a `gpg --decrypt` command. It is important to have paired secret-key for one of the public-keys, which were used in the encryption.
## OPTIONS
-d - specifies `--homedir` option for the `gpg`, basically use this option if your store your keys in a custom location.
-p - specifies password for noinput mode, adds `--passphrase` option for `gpg`.
-h - shows help.
## SEE ALSO
git-secret-init(1), git-secret-tell(1), git-secret-add(1), git-secret-hide(1)