Skip to content

Instantly share code, notes, and snippets.

@ype
Created April 18, 2015 13:17
Show Gist options
  • Save ype/64563c28f15b2749a024 to your computer and use it in GitHub Desktop.
Save ype/64563c28f15b2749a024 to your computer and use it in GitHub Desktop.
generates csv of repo_links_list.txt
for i in $(cat repo_links_list.txt); do echo $(git ls-remote --get-url "$i") $(git ls-remote "$i" master) | tr ' ' ',' >> repo_branch_master.csv; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment