Cheat Sheet¶ Git + RipGrep Selective Search¶ Get the files affected by a commit. Run ripgrep on these files. git diff-tree --no-commit-id -r --name-only -z {{commit-hash}} | xargs -0 rg "search-term"