Last active
August 29, 2015 14:15
-
-
Save AKuederle/256d87f7ec6cac4f41dd to your computer and use it in GitHub Desktop.
Find the name of all folders, which have a .git repo inside. Can be used to find the name sof all Git "Projects" on the machine
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
find ~ -type d -name .git | xargs -n 1 dirname | xargs -n 1 basename |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment