We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1aace9f commit 64c346cCopy full SHA for 64c346c
1 file changed
cloneAllBitbucket.sh
@@ -0,0 +1,4 @@
1
+#!/bin/sh
2
+
3
+echo "cloneAllBitbucket.sh username targetuserorteam"
4
+USER=$1; curl --user ${USER} https://api.bitbucket.org/2.0/repositories/$2 | grep -o '"ssh:[^ ,]\+' | xargs -L1 git clone
0 commit comments