Created
October 20, 2020 17:28
-
-
Save organom/876b674fdddeb9cd89f300ad6419b441 to your computer and use it in GitHub Desktop.
Lists all changes from all repositories present in the current folder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
find . -name .git -type d -exec sh -c '(cd {}; cd ..; git_temp=`git status -s`; if [ -n "${git_temp}" ]; then (echo $PWD && git status -s && echo); fi;)' \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Display the state if all git folders present in the current path