Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gitlab-clone

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitlab-clone

Gitlab tool for recursive clone

  • 1.2.0
  • PyPI
  • Socket score

Maintainers
1

================= gitlab-clone

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 --branch branch Branch to clone in all repos [by default master] --http Clone via http instead of ssh --gitlab-url gitlab Gitlab address [by default gitlab.com] --token token Gitlab Token

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:

.. image:: https://github.com/ArseniyAntonov/gitlab-group-clone/raw/master/img/tree.png

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.

.. _pip: https://pypi.python.org/pypi/pip/

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc