backup_github_repositories
backup_github_repositories copied to clipboard
--mirror
You use the git clone option "--mirror" which does not clone the actual files. It's pretty much only the .git directory in each repo. Which is nice because of the history but doesn't backup also imply the files?
Also, you're using the git clone command against the SSH option of the github URL but reference the Personal Auth Token in your "userSecret" option which doesn't work with that URL. Your git clone URL in line 198 should be ...
git clone --quiet "https://github.com/${fullName}.git" "${directory}"
.. in my opinion, and works fine when I tested.