Gitlab tool for recursive clone
Project description
Tool for easy cloning whole gitlab structure to your local machine.
Free software: MIT license
Requirements
Requests
Python >= 3.6
Installation
You can install “gitlab-clone” via pip:
$ pip install gitlab-clone
Usage
>>> 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.com]
Example
$ gitlab-clone –group=123 –token=MySecretToken –gitlab-url=gitlab.organization.com
For example if you clone this group https://gitlab.com/lmaolmaolmao which id is 6849299
you will have absolutely the same structure locally:
>>> tree . └── lmaolmaolmao └── subgroup1 └── subgroup2 └── subgroup3
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
gitlab-clone-1.0.2.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for gitlab_clone-1.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30c10da83c556a20fc803cd303dfffe451aed0c863be26a5ac4ad1376f795fca |
|
MD5 | d18c73cdc00c5d9313d796e989e2ee2f |
|
BLAKE2b-256 | b033756bad3afe7704c5327fb5b4590a0becd702140c2137932525e8d2e6f37c |