Git-Dumper is a tool to dump a git repository from a website.
Install
This can be installed easily with pip:
pip install git-dumper
Usage
usage: git-dumper [options] URL DIR
Dump a git repository from a website.
positional arguments:
URL url
DIR output directory
optional arguments:
-h, –help show this help message and exit
–proxy PROXY use the specified proxy
-j JOBS, –jobs JOBS number of simultaneous requests
-r RETRY, –retry RETRY
number of request attempts before giving up
-t TIMEOUT, –timeout TIMEOUT
maximum time in seconds before giving up
-u USER_AGENT, –user-agent USER_AGENT
user-agent to use for requests
-H HEADER, –header HEADER
additional http headers, e.g NAME=VALUE
Example
git-dumper http://website.com/.git ~/website