Skip to content

Instantly share code, notes, and snippets.

@tcrayford
Created April 9, 2011 20:14
Show Gist options
  • Save tcrayford/911731 to your computer and use it in GitHub Desktop.
Save tcrayford/911731 to your computer and use it in GitHub Desktop.
run-command-on-git-revisions 353ca58a031a9138b7fb58dc7d3598e2c1711e3e master 'find application/controllers -name "*.php" -print | xargs wc -l | sort -n | tail -2'
=> git rev-list --reverse 353ca58a031a9138b7fb58dc7d3598e2c1711e3e..master
Checking out: 41b3ab4 Set up template
=> git checkout --quiet 41b3ab4f711c59a3d99b222702f6769b87c31245
=> find application/controllers -name "*.php" -print | xargs wc -l | sort -n | tail -2
find: |: unknown option
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment