Created
October 20, 2020 20:29
-
-
Save anhmiuhv/317cafde2609893055ecd1d37cbdd373 to your computer and use it in GitHub Desktop.
repo command to see if any branch has diverged from origin
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
repo forall -c 'if [ "$(git status | grep -q diverged && echo "diverged")" != "" ]; then echo $REPO_PROJECT; fi' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment