Created
August 3, 2019 14:06
-
-
Save peterdalle/39a26fcd8f6ae2de55861d3149a724a2 to your computer and use it in GitHub Desktop.
Get all git repositories on local Windows 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
cd \ | |
Get-ChildItem . -Attributes Directory+Hidden -ErrorAction SilentlyContinue -Filter ".git" -Recurse |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bash:
find / -name ".git"