Skip to content

Instantly share code, notes, and snippets.

@pkbullock
Created April 10, 2018 06:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pkbullock/23be6e2ef0e56631459a43cf29f7636b to your computer and use it in GitHub Desktop.
Save pkbullock/23be6e2ef0e56631459a43cf29f7636b to your computer and use it in GitHub Desktop.
Get List of Git Repo Urls
$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