Description: This repo contains code for automatically cloning repositories from a bitbucket cloud team space.
The repository contains code that does the following via the bitbucket API
- Iterates over the repositories within your bitbucket team space and creates a local directory for each repository within your team space
- Clones repositories from your bitbucket should a local version not exist
- Iterates through the remote branches of the repositories and checkouts the branches locally*
The main script contains three variables which need to be set, they are the following
- TEAMNAME - bitbucket team name
- USERNAME & PASSWORD - credentials you use to log into your bitbucket
- OS_PATH - directory where the repositories will be cloned to