3 ms·
100% agree. It's such a versatile tool -- for example I have the following: git config --local core.hooksPath $PWD/.githooks export DOCKER_CONFIG=$(rea
by hardwaresofton 5y ago
100% agree. It's such a versatile tool -- for example I have the following:
git config --local core.hooksPath $PWD/.githooks
export DOCKER_CONFIG=$(realpath secrets/docker)
Combine that with git-crypt[0] (obviously, don't commit secrets in plaintext to your repo!) for example and you have some really nice ergonomics.
Not enough people know about direnv.
[0]: https://www.agwa.name/projects/git-crypt/ https://www.agwa.name/projects/git-crypt/