Skip to content

A simple script to backup all bitbucket git repositories locally

License

Notifications You must be signed in to change notification settings

hehu80/bitbackup-sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bitbackup

Description

This Bash script will download all of your Git repositories from a Bitbucket workspace. If a repository does not exist locally, the repo will be downloaded to the target directory. If a repository already exists locally, git remote update will be executed.

Usage

bitbackup -k <bitbucket app key> -u <bitbucket username> -w <bitbucket workspace> 
  [-t <target directory>] [-p <bitbucket projectname>]

App Key and Username a required to access the Bitbucket API. You can easily generate a new App Key at your personal settings page in Bitbucket. Workspace could be your own username to download your personal repositories or one of the team workspaces. To download only repositories of a certain project, you can specify the project name.

About

A simple script to backup all bitbucket git repositories locally

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages