curl -s -k https://USERNAME:[email protected]/1.0/user/repositories | python -c 'import sys, json, os; r = json.loads(sys.stdin.read()); [os.system("git clone %s" % d["resource_uri"].replace("/1.0/repositories","https://USERNAME:[email protected]")+".git") for d in r]'
Last active
July 5, 2017 12:40
-
-
Save RooseveltAdvisors/97b6875048d565fbfbd530e6d0962b20 to your computer and use it in GitHub Desktop.
Clone all git repositories from BitBucket
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment