Skip to content

Instantly share code, notes, and snippets.

@EtherTyper
Created August 1, 2021 21:07
Show Gist options
  • Save EtherTyper/fc231d1e64aff0b296560de9d1653d62 to your computer and use it in GitHub Desktop.
Save EtherTyper/fc231d1e64aff0b296560de9d1653d62 to your computer and use it in GitHub Desktop.
for i in *; do if [ -d "$i/.git" ]; then echo "$i"; if [ -d "$i/.git/svn" ]; then GIT_DIR="$i/.git" git-svn info; else git -C "$i" remote get-url origin; fi; fi; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment