https://github.com/sajad-net/github_backup
Python script that uses the GitHub API to back up all your repositories by cloning them to a local directory.
https://github.com/sajad-net/github_backup
github-backup python3 requests subprocess
Last synced: 10 months ago
JSON representation
Python script that uses the GitHub API to back up all your repositories by cloning them to a local directory.
- Host: GitHub
- URL: https://github.com/sajad-net/github_backup
- Owner: SAJAD-net
- Created: 2024-12-24T19:51:19.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-24T20:10:12.000Z (about 1 year ago)
- Last Synced: 2024-12-24T20:26:42.077Z (about 1 year ago)
- Topics: github-backup, python3, requests, subprocess
- Language: Python
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Github_backup
## Python script that uses the GitHub API to back up all your repositories by cloning them to a local directory.
## Steps to Run:
#### 1- Generate a GitHub personal access token with repo scope by following GitHub's guide.
#### 2- Install the dependencies.
pip3 install -r requirements.txt
#### 3- Run the script.
python3 github_backup.py