Created
April 10, 2018 06:33
-
-
Save pkbullock/23be6e2ef0e56631459a43cf29f7636b to your computer and use it in GitHub Desktop.
Get List of Git Repo Urls
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
$startingDir = Get-Location | |
Get-ChildItem | ?{ $_.PSIsContainer } | Select-Object FullName | | |
Foreach-Object { | |
Set-Location $_.FullName | |
git config --get remote.origin.url | |
} | |
Set-Location $startingDir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment