mirror of
https://github.com/sobolevn/git-secret
synced 2024-11-08 19:10:31 +00:00
40 lines
1013 B
Markdown
40 lines
1013 B
Markdown
|
---
|
||
|
layout: post
|
||
|
title: 'git-secret-remove'
|
||
|
date: 2020-09-20 15:12:56 -0400
|
||
|
permalink: git-secret-remove
|
||
|
categories: command
|
||
|
---
|
||
|
git-secret-remove - removes files from index.
|
||
|
=============================================
|
||
|
|
||
|
## SYNOPSIS
|
||
|
|
||
|
git secret remove [-c] <pathspec>...
|
||
|
|
||
|
|
||
|
## DESCRIPTION
|
||
|
`git-secret-remove` deletes files from `.gitsecret/paths/mapping.cfg`,
|
||
|
so they won't be encrypted or decrypted in the future.
|
||
|
There's also a -c option to delete existing encrypted versions of the files provided.
|
||
|
|
||
|
(See [git-secret(7)](http://git-secret.io/git-secret) for information about renaming the .gitsecret
|
||
|
folder using the SECRETS_DIR environment variable.
|
||
|
|
||
|
|
||
|
## OPTIONS
|
||
|
|
||
|
-c - deletes existing real encrypted files.
|
||
|
-h - shows help.
|
||
|
|
||
|
|
||
|
## MANUAL
|
||
|
|
||
|
Run `man git-secret-remove` to see this note.
|
||
|
|
||
|
|
||
|
## SEE ALSO
|
||
|
|
||
|
[git-secret-add(1)](http://git-secret.io/git-secret-add), [git-secret-clean(1)](http://git-secret.io/git-secret-clean),
|
||
|
[git-secret-killperson(1)](http://git-secret.io/git-secret-killperson)
|