awslabs / git-secrets

Prevents you from committing secrets and credentials into git repositories
Apache License 2.0
12.36k stars 1.17k forks source link

fail with SourceTree, Tower client #93

Open datnm8x opened 5 years ago

datnm8x commented 5 years ago

This script is fail when using with SourceTree, Tower and other git UI Client, Please add "export PATH=$PATH:/usr/local/bin:/usr/local/sbin" into top of "pre-" files when run install git secret

Roustalski commented 5 years ago

Workaround: Open a terminal and run open /Applications/Sourcetree.app/Contents/MacOS/Sourcetree

sparr commented 1 year ago

Modifying the path this way does not seem appropriate. Can you, instead, put git-secrets somewhere on your existing PATH?