git-cloner is a command line tool to batch clone git projects from GitLab server.
- Windows
-
Install Python 2.7 or 3.4+:
When installing, option
Add python.exe to Pathmust 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. -
Install
git-clonervia pippip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ git-cloner -
Reboot the system
- Linux
-
Install Python 2.7 or 3.4+
-
Install
git-clonervia pippip install -i https://mirrors.aliyun.com/pypi/simple/ git-cloner
- MacOSX
-
Install Python 2.7 or 3.4+
-
Install
git-clonervia pippip install -i https://pypi.douban.com/simple/ git-cloner
-
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