Skip to content

Instantly share code, notes, and snippets.

@jcpst
Last active August 29, 2015 14:16
Show Gist options
  • Save jcpst/23143f55ee6faebd1cd3 to your computer and use it in GitHub Desktop.
Save jcpst/23143f55ee6faebd1cd3 to your computer and use it in GitHub Desktop.
find git repos in home directory
# from here: http://sixarm.com/about/git-how-to-find-git-repository-directories.html
find ~ -type d -name .git | xargs -n 1 dirname
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment