Find All Local Git Repositories on Computer
suggest changeTo 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$
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents