Skip to content

Instantly share code, notes, and snippets.

@besrabasant
Last active August 26, 2018 01:56
Show Gist options
  • Save besrabasant/050a9e97218b5488b79db25cfc932c42 to your computer and use it in GitHub Desktop.
Save besrabasant/050a9e97218b5488b79db25cfc932c42 to your computer and use it in GitHub Desktop.
A small script to check the git status of all git projects in a folder. Just run it in the parent folder that contains all your git projects.
#!/bin/sh
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