Skip to content

Instantly share code, notes, and snippets.

@raglin
raglin / generate_clone_all_bitbucket_repos.sh
Last active August 15, 2018 08:02 — forked from eeichinger/generate_clone_all_bitbucket_repos.sh
script to clone all repositories in a bitbucket server (aka stash) project
# this script uses syntax for bitbucket server.
# For bitbucket cloud see https://confluence.atlassian.com/bitbucket/use-the-bitbucket-cloud-rest-apis-222724129.html
#
# Note: replace username, password and PROJECTNAME with your values
USERNAME=xxxx
PASSWORD=xxxx
PROJECTNAME=xxxxx
HOST=xxxxx