You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I create a brand new git repo and try to commit using any message, I get an error that the commit message matches a pattern:
mkdir test-secrets
cd test-secrets
git init
git commit --allow-empty -m 'test'
.git/COMMIT_EDITMSG:1:test
[ERROR] Matched one or more prohibited patterns
Possible mitigations:
- Mark false positives as allowed using: git config --add secrets.allowed ...
- Mark false positives as allowed by adding regular expressions to .gitallowed at repository's root directory
- List your configured patterns: git config --get-all secrets.patterns
- List your configured allowed patterns: git config --get-all secrets.allowed
- List your configured allowed patterns in .gitallowed at repository's root directory
- Use --no-verify if this is a one-time false positive
I've installed git-secrets using Homebrew as in the instructions.
Also have run the following to setup:
If I create a brand new git repo and try to commit using any message, I get an error that the commit message matches a pattern:
Output of my secrets.patterns:
What am I missing?
The text was updated successfully, but these errors were encountered: