CLI tool to clone multiple git repositories
Project description
Git Multi Clone
git-multi-clone is a simple command-line tool to clone multiple Git repositories based on a declarative configuration file.
It uses GitPython to handle the repository cloning and Typer for the command-line interface.
Features
- Clone multiple Git repositories at once using a TOML configuration file.
- Specify a target directory for all repositories.
- Supports both HTTPS and SSH Git URLs.
Usage
-
Install using
pip.pip install git-multi-clone
-
Use the
git-multi-clonecommand to clone repositories based on a TOML configuration file.git-multi-clone [/path/to/config.toml]
Configuration file
The configuration file is a TOML file that specifies the repositories to clone and the target directory. Example config.toml:
directory = "repos"
[repos]
repo1 = "https://github.com/user/repo1.git"
repo2 = "git@github.com:user/repo2.git"
directory: The target directory where the repositories will be cloned. If not specified, it defaults to the current working directory.repos: A dictionary where the keys are the names of the repositories, and the values are the Git URLs.
License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file git_multi_clone-0.1.1.tar.gz.
File metadata
- Download URL: git_multi_clone-0.1.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c063fc732e992bba2eba93ec129e523825bf298e310c0d45f6c231bbf62e086
|
|
| MD5 |
6f00dd3cdaf5ac0f16e7344a63169db4
|
|
| BLAKE2b-256 |
ce62ad62e8ad49ae42343efb3b6facb6bf33b06028362ebbfedfea3b41fee0b8
|
File details
Details for the file git_multi_clone-0.1.1-py3-none-any.whl.
File metadata
- Download URL: git_multi_clone-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
29ca1ed2ddf2e9f10be913e9533f8f5e1b308c4bdd9de0d51f60c5d73229cde2
|
|
| MD5 |
b250f8bd7a69301ef2585b7d8f9de93e
|
|
| BLAKE2b-256 |
a26ea249793563557ae9a59299033656ba1f3a5e1a1a4719b3a2cd70bae3d6f3
|