Skip to content

Instantly share code, notes, and snippets.

@VeggieMeat
Created June 15, 2018 21:52
Show Gist options
  • Save VeggieMeat/276b8220895bdf1372cd0d6358179151 to your computer and use it in GitHub Desktop.
Save VeggieMeat/276b8220895bdf1372cd0d6358179151 to your computer and use it in GitHub Desktop.
Clone up to 100 Bitbucket repositories from a team
curl --user USERNAME https://api.bitbucket.org/2.0/repositories/TEAMNAME?pagelen=100 | grep -o '"git@[^ ,]\+' | xargs -L1 git clone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment