Import upstream version 1.3.0+git20200529.1.80230af
Debian Janitor
2 years ago
|
0 |
- id: git-secrets
|
|
1 |
name: Git Secrets
|
|
2 |
description: git-secrets scans commits, commit messages, and --no-ff merges to prevent adding secrets into your git repositories.
|
|
3 |
entry: 'git-secrets --pre_commit_hook'
|
|
4 |
language: script
|
39 | 39 |
by ``git`` when running ``git secrets``.
|
40 | 40 |
|
41 | 41 |
\*nix (Linux/macOS)
|
42 | |
~~~~~~~~~~~~~~~~~
|
|
42 |
~~~~~~~~~~~~~~~~~~~
|
43 | 43 |
|
44 | 44 |
You can use the ``install`` target of the provided Makefile to install ``git secrets`` and the man page.
|
45 | 45 |
You can customize the install path using the PREFIX and MANPREFIX variables.
|
|
68 | 68 |
|
69 | 69 |
.. warning::
|
70 | 70 |
|
71 | |
You're not done yet! You MUST install the git hooks for every repo that
|
72 | |
you wish to use with ``git secrets --install``.
|
|
71 |
**You're not done yet! You MUST install the git hooks for every repo that
|
|
72 |
you wish to use with** ``git secrets --install``.
|
73 | 73 |
|
74 | 74 |
Here's a quick example of how to ensure a git repository is scanned for secrets
|
75 | 75 |
on each commit::
|