从 GitHub 备份所有存储库和要点
项目描述
回复
从 GitHub 备份所有存储库和要点
安装
来自 PyPI
pip3 install gitback
来自 GitHub
pip3 install git+https://github.com/donno2048/gitback
用法
usage: gitback [-h] [-n] [-P] [-s] [-f] [-z] [-q] [-u] [-p] [-r | -g]
Makes a backup of all your repositories and gists from GitHub
optional arguments:
-h, --help show this help message and exit
-n, --name Use a custom name for your backup [default: backup]
-P, --path Use a custom path for your backup [default: current working directory]
-s, --ssh Use ssh cloning [default: http]
-f, --full Clone with full git history
-z, --zip Make a zip file of the backup
-q, --quiet Don't see cloning progress
-u, --username Your GitHub username
-r, --repos Backup only repos
-g, --gists Backup only gists
例子
假设我只想备份我的要点,并且我想要一个 zip 文件:
gitback -u donno2048 -g -z
项目详情
下载文件
下载适用于您平台的文件。如果您不确定要选择哪个,请了解有关安装包的更多信息。
源分布
gitback-1.1.1.tar.gz
(3.3 kB
查看哈希)
内置分布
gitback-1.1.1-py3-none-any.whl
(4.0 kB
查看哈希)