Skip to content

Instantly share code, notes, and snippets.

@xeoncross
Forked from tafkey/git_overview
Created September 26, 2018 19:16
Show Gist options
  • Select an option

  • Save xeoncross/10e44751369d845f22d5db78bbd06e7b to your computer and use it in GitHub Desktop.

Select an option

Save xeoncross/10e44751369d845f22d5db78bbd06e7b to your computer and use it in GitHub Desktop.
Print git status of all repositories under the current folder
find . -type d -name '.git' | while read dir ; do sh -c "cd $dir/../ && echo -e \"\nGIT STATUS IN ${dir//\.git/}\" && git status -s" ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment