Skip to content

Latest commit

 

History

History
30 lines (16 loc) · 1008 Bytes

README.md

File metadata and controls

30 lines (16 loc) · 1008 Bytes

Description: This repo contains code for automatically cloning repositories from a bitbucket cloud team space.

Author: Patrick Hynes

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*

Resources

Repository Structure

How to use

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