View Code? Open in Web Editor
NEW
This project forked from ameer1234567890/gitbackup
Bash script to backup all repositories in a specific github account
gitbackup's Introduction
- Almost any linux based shell.
- Cygwin shell on Windows.
- Git Bash on Windows.
- Copy
config.cfg.example
to config.cfg
.
- Set the config file values as per your requirement.
- Run
./gitbackup.sh
.
GITHUB_TOKEN
in the config refers to Github's Personal Access Token
GITHUB_TOKEN
is required if FETCH_PRIVATE
is set to true.
GITHUB_ORGANIZATION
is required if FETCH_ORGANIZATION
is set to true.
- To generate a
GITHUB_TOKEN
visit this link.
- If you are on linux, ensure that
gitbackup.sh
is chmodded to 755
.
gitbackup's People
Contributors
Watchers