/ Search - type / Modes - type M Star on GitHub - 5.7k

dotenvx precommit

--install

Install a shell script to .git/hooks/pre-commit to prevent accidentally committing any .env files to source control.

Usage

$ dotenvx precommit --install
▣ dotenvx precommit installed [.git/hooks/pre-commit]