This project is for creating or updating a file on GitHub repository.
pip install pip==21.1.2
pip install pybase64
pip install requests
pip install SQLAlchemy==1.3.24
pip install GitPython==3.1.18
pip install PyGithub==1.55
- Verify your email address, if it hasn't been verified yet.
- In the upper-right corner of any page, click your profile photo, then click Settings.
- In the left sidebar, click Developer settings.
- In the left sidebar, click Personal access tokens.
- Click Generate new token.
- Give your token a descriptive name.
- Select scopes.
- Click Generate token.
- Remember to copy it before you leave the page.
Open the credentials.py and replace the generated token with the string in the quotes.
Note. credentials.py is incruded in .gitignore
python backup.py
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.