The fastest way to scan your whole git repo
TLDR:
git cat-file --unordered --batch-all-objects --buffer --batch | grep 'GITHUB_API_KEY='
Replace grep by whatever command you want to use, it will be piped the entire contents of the repo, every version of every file.
What is this?
Imagine you w...
amedee.hashnode.dev2 min read