Created
May 1, 2021 19:22
-
-
Save jrolfs/db73bb9759519ff38ddabf9bb7b3d3bc to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
for repository in $(ls -1); do | |
if [ -d $repository ]; then | |
( | |
cd $repository | |
if [ $(git cat-file -t $1 2>/dev/null) ]; then | |
echo $(basename $PWD) | |
fi | |
) | |
fi | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment