cloud-gov / caulking

Prevent leaks with gitleaks, and use tests to validate
Other
32 stars 11 forks source link

Use --no-verify instead of config modification. #49

Open adborden opened 3 years ago

adborden commented 3 years ago

Any reason why the work-around when you encounter a false positive is to disable hooks, instead of just use the git commit --no-verify option?

Hook output currently recommends:

  git config --local hooks.gitleaks false
  git commit -m "message" 
  git config --local hooks.gitleaks true