Skip to content

Instantly share code, notes, and snippets.

@basilleaf
Created July 23, 2021 17:28
Show Gist options
  • Save basilleaf/0bcb434d59cc7c874bb51b16072d9e15 to your computer and use it in GitHub Desktop.
Save basilleaf/0bcb434d59cc7c874bb51b16072d9e15 to your computer and use it in GitHub Desktop.
search all git revisions, excluding some files
git rev-list --all | (
while read revision; do
git grep -F 'overrideNwayTestVariants' $revision | grep -v exclude_filename1.js | grep -v exclude_filename1.js;
done;
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment