Which of my projects are using Git?
I forget which projects are on git and which are on svn. Here’s a one liner to find the git ones.
find * -maxdepth 2 | grep "/.git$" | sed -e "s/\/.git//"
Then pipe that to xargs and you can do whatever you like with the knowledge.
Ahh, unix ftw.