Skip to main content

Gitlab tool for recursive clone

Project description

Tool for easy cloning whole gitlab structure to your local machine.

  • Free software: MIT license


  • Requests
  • Python >= 3.6


You can install “gitlab-clone” via pip:

$ pip install gitlab-clone


>>> gitlab-clone:
  optional arguments:
  -h, --help           show this help message and exit
  --group_id group_id  Id of a group in gitlab
  --token token        Gitlab Token
  --branch branch      Branch to clone in all repos [by default master]
  --gitlab-url gitlab  Gitlab address [by default]


$ gitlab-clone –group=123 –token=MySecretToken –

For example if you clone this group which id is 6849299

you will have absolutely the same structure locally:
>>> tree
    └── lmaolmaolmao
        └── subgroup1
            └── subgroup2
                └── subgroup3
If you will use this command again gitlab-clone will just pull the updated to the existing repos, and will download new repos from the group.

Project details

Download files

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

Files for gitlab-clone, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size gitlab_clone-1.1.0-py2.py3-none-any.whl (4.4 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size gitlab-clone-1.1.0.tar.gz (4.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page