Skip to main content

Batch clone projects from GitLab server

Project description

git-cloner

Table of Contents

About

git-cloner is a command line tool to batch clone git projects from GitLab server.

Installing

  • Windows
  1. Install Python 2.7 or 3.4+:

    When installing, option Add python.exe to Path must be selected and enabled. Or after installation, manually add the Python installation directory and its Scripts subdirectory to your PATH. Depending on your Python version, the defaults would be C:\Python27 and C:\Python27\Scripts respectively.

  2. Install git-cloner via pip

    pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ git-cloner
    
  3. Reboot the system

  • Linux
  1. Install Python 2.7 or 3.4+

  2. Install git-cloner via pip

    pip install -i https://mirrors.aliyun.com/pypi/simple/ git-cloner
    
  • MacOSX
  1. Install Python 2.7 or 3.4+

  2. Install git-cloner via pip

    pip install -i https://pypi.douban.com/simple/ git-cloner
    

Usage

  • General command help

    git-cloner --help
    usage: git-cloner [-h] -s <url> -u <user> -p <pass> [-g <group> [<group> ...]] [-o <path>]
    
    optional arguments:
      -h, --help            show this help message and exit
      -s <url>, --server <url>
                            The GitLab server url
      -u <user>, --user <user>
                            The GitLab login username
      -p <pass>, --pass <pass>
                            The GitLab login password
      -g <group> [<group> ...], --group <group> [<group> ...]
                            Only clone the projects in this group(s)
      -o <path>, --output <path>
                            Clone projects to output directory
    

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-cloner-0.0.4.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file git-cloner-0.0.4.tar.gz.

File metadata

  • Download URL: git-cloner-0.0.4.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.5

File hashes

Hashes for git-cloner-0.0.4.tar.gz
Algorithm Hash digest
SHA256 9c4ba74cd31d9fb9a0424ec5372081b395bc35c95977f12819c0148719aebf16
MD5 148884548d43b4e1440d24c9cdfab9ea
BLAKE2b-256 d95237f6fd0b7f261224da6c5ecb1a443c67c4f2adec1bd7f3932cc8d87b0156

See more details on using hashes here.

Supported by

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