Skip to content

Instantly share code, notes, and snippets.

@cdracars
Created May 12, 2015 21:07
Show Gist options
  • Save cdracars/b29f0ca62c6ac27cffea to your computer and use it in GitHub Desktop.
Save cdracars/b29f0ca62c6ac27cffea to your computer and use it in GitHub Desktop.
Status of all git repos in directory.
find ~ -type d -name .git -exec dirname {} \; | tr '\n' '\000' | xargs -0 -n1 -I % git -C "%" status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment