# gitback
Makes a backup of all your repositories and gists from GitHub
## Install
(On Linux you'll need to use `sudo`)
### From PyPI
```sh
pip3 install gitback
```
### From GitHub
```sh
pip3 install git+https://github.com/donno2048/gitback
```
## Usage
You can also use `git backup` instead of `gitback`.
```py
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
```
### Example
Let's say I want to backup only my gists, and I want a zip file:
```sh
gitback -u donno2048 -g -z
```
Raw data
{
"_id": null,
"home_page": "https://github.com/donno2048/gitback",
"name": "gitback",
"maintainer": "",
"docs_url": null,
"requires_python": ">3.8",
"maintainer_email": "",
"keywords": "",
"author": "Elisha Hollander",
"author_email": "",
"download_url": "https://files.pythonhosted.org/packages/90/f7/c88f3072bf4dafdc78b4b9cdde31e8028d91309b4760606ac6a4df3346a0/gitback-1.1.5.tar.gz",
"platform": null,
"description": "# gitback\n\nMakes a backup of all your repositories and gists from GitHub\n\n## Install\n\n(On Linux you'll need to use `sudo`)\n\n### From PyPI\n\n```sh\npip3 install gitback\n```\n\n### From GitHub\n\n```sh\npip3 install git+https://github.com/donno2048/gitback\n```\n\n## Usage\n\nYou can also use `git backup` instead of `gitback`.\n\n```py\nusage: gitback [-h] [-n] [-P] [-s] [-f] [-z] [-q] [-u] [-p] [-r | -g]\n\nMakes a backup of all your repositories and gists from GitHub\n\noptional arguments:\n -h, --help show this help message and exit\n -n, --name Use a custom name for your backup [default: backup]\n -P, --path Use a custom path for your backup [default: current working directory]\n -s, --ssh Use ssh cloning [default: http]\n -f, --full Clone with full git history\n -z, --zip Make a zip file of the backup\n -q, --quiet Don't see cloning progress\n -u, --username Your GitHub username\n -r, --repos Backup only repos\n -g, --gists Backup only gists\n```\n\n### Example\n\nLet's say I want to backup only my gists, and I want a zip file:\n\n```sh\ngitback -u donno2048 -g -z\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Makes a backup of all your repositories and gists from GitHub",
"version": "1.1.5",
"project_urls": {
"Homepage": "https://github.com/donno2048/gitback"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b91f468693bd26728409ba739456b54e4bade710c47371a03087fdd933177390",
"md5": "414940b17d99ddcd4a2298cb0f1377aa",
"sha256": "1113c875a602d347f47011ac0004c1412af05f33c2245bf20dad96cca90a3fe5"
},
"downloads": -1,
"filename": "gitback-1.1.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "414940b17d99ddcd4a2298cb0f1377aa",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">3.8",
"size": 4289,
"upload_time": "2024-01-16T22:17:53",
"upload_time_iso_8601": "2024-01-16T22:17:53.019059Z",
"url": "https://files.pythonhosted.org/packages/b9/1f/468693bd26728409ba739456b54e4bade710c47371a03087fdd933177390/gitback-1.1.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "90f7c88f3072bf4dafdc78b4b9cdde31e8028d91309b4760606ac6a4df3346a0",
"md5": "ff2c647454cfcc65d224056014044547",
"sha256": "f187e7e84fd3dd78071d96737a0d016869096b8e8ab2a5629e953443bfc1e994"
},
"downloads": -1,
"filename": "gitback-1.1.5.tar.gz",
"has_sig": false,
"md5_digest": "ff2c647454cfcc65d224056014044547",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">3.8",
"size": 3338,
"upload_time": "2024-01-16T22:17:54",
"upload_time_iso_8601": "2024-01-16T22:17:54.499554Z",
"url": "https://files.pythonhosted.org/packages/90/f7/c88f3072bf4dafdc78b4b9cdde31e8028d91309b4760606ac6a4df3346a0/gitback-1.1.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-16 22:17:54",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "donno2048",
"github_project": "gitback",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "gitback"
}