Skip to content

Cheat Sheet

  1. Get the files affected by a commit.
  2. Run ripgrep on these files.
git diff-tree --no-commit-id -r --name-only -z {{commit-hash}} | xargs -0 rg "search-term"