Last active
December 17, 2015 01:39
-
-
Save mwinkle/5530485 to your computer and use it in GitHub Desktop.
Very basic one-liner to enumerate all git repo's in a directory (and child directories)
This file contains hidden or 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
# start of something to help me manage git repos... | |
# starting with a very basic list of them. | |
gci -recurse -force -include .git | select -Property Parent, {$_.Parent.FullName} | |
# ideal next step would potentially parse & return a list of remotes... | |
# once I get remotes, I should also output current branches | |
# serialize to a json doc and allow me to pick that back up elsewhere | |
# integrate iwth a convention to turn into a true one-liner to sync a box |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment