Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save IndyIndyIndy/64b536a2bbc3ba940400009d52ffaf01 to your computer and use it in GitHub Desktop.
Save IndyIndyIndy/64b536a2bbc3ba940400009d52ffaf01 to your computer and use it in GitHub Desktop.
check the git status of all files in subdirectories (with multiple git repositories)
find . -maxdepth 1 -mindepth 1 -type d -exec sh -c '(echo {} && cd {} && git status -s && echo)' \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment