/git-mirroring-py

GitHub repositories mirroring script.

Primary LanguagePythonMIT LicenseMIT

git-mirroring-py

Python script to mirror git repositories hosted on GitHub to your local machine.

$: python git-mirror.py <GitHub username> <Path to store git repositories>

Installation:

Clone this repository:

$: git clone https://github.com/ermus19/git-mirroring-py

[Optional]: Create a virtualenv inside the cloned repository and activate it:

$: cd git-mirrororing-py
$: virtualenv . --python=python3
$: source bin/activate

Install the dependencies:

$: pip install -r requirements.txt

Usage:

Run the script:

$: python git-mirror.py <GitHub username> <Path to store git repositories>