Created
November 12, 2018 20:11
-
-
Save hjhart/c0c73281ef0b75d845259dc020c802ce to your computer and use it in GitHub Desktop.
Check for unpushed master commits in git
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
git config --global alias.ahead "log origin/master..HEAD --oneline" | |
for i in *; do echo $i && pushd $i && git ahead 2>/dev/null && popd; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment