Git Git statistics Find All Local Git Repositories on Computer


Example

To list all the git repository locations on your you can run the following

find $HOME -type d -name ".git"

Assuming you have locate, this should be much faster:

locate .git |grep git$

If you have gnu locate or mlocate, this will select only the git dirs:

locate -ber \\.git$