Skip to content

Instantly share code, notes, and snippets.

@jmakeig
Created September 15, 2014 18:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmakeig/507d4bf553cd89245e99 to your computer and use it in GitHub Desktop.
Save jmakeig/507d4bf553cd89245e99 to your computer and use it in GitHub Desktop.
Run a git command on every git repo in a directory
find . -name '.git' -type d -exec git --git-dir {} diff --exit-code \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment