this repo has no description

feat(gitleaks): initial commit

+17
+5
docs/README.md
··· 9 9 ```sh 10 10 brew bundle dump --file ~/.config/homebrew/Brewfile --force --no-vscode 11 11 ``` 12 + 13 + ### Git secret scanning 14 + 15 + This repo configures a global `pre-commit` hook (via `core.hooksPath`) that 16 + uses `gitleaks` to block secrets from being committed.
+1
home/dot_config/homebrew/Brewfile
··· 5 5 brew "gh" 6 6 brew "git" 7 7 brew "git-lfs" 8 + brew "gitleaks" 8 9 brew "gnupg" 9 10 brew "micro" 10 11 brew "mise"
+1
home/dot_config/private_git/config
··· 3 3 [core] 4 4 autocrlf = input 5 5 excludesfile = ~/.config/git/ignore 6 + hooksPath = ~/.config/git/hooks 6 7 [credential] 7 8 helper = osxkeychain 8 9 [user]
+10
home/dot_config/private_git/hooks/executable_pre-commit
··· 1 + #!/usr/bin/env sh 2 + set -eu 3 + 4 + if ! command -v gitleaks >/dev/null 2>&1; then 5 + echo "gitleaks not installed; install it to enable secret scanning." >&2 6 + echo "macOS: brew install gitleaks" >&2 7 + exit 1 8 + fi 9 + 10 + gitleaks protect --staged --redact --no-banner