Skip to content

Instantly share code, notes, and snippets.

@jnavila
Created May 25, 2012 09:29
Show Gist options
  • Save jnavila/2786958 to your computer and use it in GitHub Desktop.
Save jnavila/2786958 to your computer and use it in GitHub Desktop.
Grep in git history made parallel
#!/bin/sh
git rev-list --all | xargs --max-args=1 --max-procs=4 git grep $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment