Created
February 27, 2011 20:05
-
-
Save oogali/846483 to your computer and use it in GitHub Desktop.
List the refs for remote Git repos
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
for remote in `git remote` ; do | |
echo "==> ${remote}" | |
git ls-remote ${remote} 2>/dev/null | |
echo | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment