Skip to main content

Clone all branches of a git repository

Project description

git-multi-branch

Clone all branches of a git repository

Install

$ pip install git-multi-branch

Usage

$ git-multi-branch --help

Usage: gitmb.py [OPTIONS] URL

  Clones all the branches of a git repository using the given url. It uses
  the local ssh key of the current user to authenticate while running git
  commands.

Options:
  -d, --target-dir TEXT  Target directory to run the command from  [default:
                         ./repos]
  -c, --cache-dir TEXT   Cache directory  [default: ./.cache]
  --help                 Show this message and exit.

Examples:

# (Default) Clones all the branches related to the git-url
$ git-multi-branch <git-url>

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

git-multi-branch-0.3.1.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

git_multi_branch-0.3.1-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page