Skip to content

Instantly share code, notes, and snippets.

@peterdalle
Created August 3, 2019 14:06
Show Gist options
  • Save peterdalle/39a26fcd8f6ae2de55861d3149a724a2 to your computer and use it in GitHub Desktop.
Save peterdalle/39a26fcd8f6ae2de55861d3149a724a2 to your computer and use it in GitHub Desktop.
Get all git repositories on local Windows machine
cd \
Get-ChildItem . -Attributes Directory+Hidden -ErrorAction SilentlyContinue -Filter ".git" -Recurse
@peterdalle
Copy link
Author

Bash:

find / -name ".git"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment