Dr Nic's Journey

The small things in my day so I don't clutter the Dr Nic site.

Areas of interest: Ruby, Rails, JavaScript, Editors, and my life in general.

Subscribe:

Dr Nic Blog:

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.