This file contains hidden or 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
# Get a list of all the repos | |
repo forall -c 'echo $REPO_PROJECT; git status -s' | |
# Just list the changed repos | |
repo forall -c 'if [ "$(git status --porcelain)" != "" ]; then echo $REPO_PROJECT; fi' | |
# Print the contents, also only include projects from given list | |
repo forall $(cat projects) -c 'if [ "$(git status --porcelain)" != "" ]; then echo $REPO_PROJECT; git status -s; fi' | |
# Check both branch and (un)staged commits |