- Almost any linux based shell.
- Cygwin shell on Windows.
- Git Bash on Windows.
- cURL
- git
- Some patience.
- Copy
config.cfg.example
toconfig.cfg
. - Set the config file values as per your requirement.
- Run
./gitbackup.sh
.
GITHUB_TOKEN
in the config refers to Github's Personal Access TokenGITHUB_TOKEN
is required ifFETCH_PRIVATE
is set to true.GITHUB_ORGANIZATION
is required ifFETCH_ORGANIZATION
is set to true.- To generate a
GITHUB_TOKEN
visit this link. - If you are on linux, ensure that
gitbackup.sh
is chmodded to755
.