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.3.tar.gz (3.8 kB view hashes)

Uploaded Source

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