git-secret-remove(1)

git-secret-remove1

Removes files from index.

Usage

git secret remove [-c] <pathspec> ...

Overview

git-secret-remove - stops files from being tracked by git-secret.

This deletes filenames from .gitsecret/paths/mapping.cfg, which stops these files from being tracked by git-secret, and from being encrypted to, or decrypted from, .secret encrypted versions.

There´s also a -c option to delete existing encrypted versions of the files provided.

Note unlike add, which automatically add pathnames to .gitignore, remove does not delete pathnames from .gitignore.

(See git-secret(7) https://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 document.

Releases

4 releases since Debian 10 (Buster); the text changed 1 time.

  1. 10–11
  2. 12–13

From git-secret 0.5.0-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.