How to backup your Github & Gitlab projects

1 · Alex Adam · July 16, 2020, 10:39 a.m.
Here you can find a simple script and instructions on how to backup your Github and Gitlab projects and repositories: https://github.com/alexadam/repo-backupGithub BackupCreate an Access TokenOn github.com, go to your profile -> Settings -> Developer Settings -> Personal access tokensClick on Generate a personal access tokenName: backup (it doesn’t matter) Scopes: repo & read:userThen click on Generate tokenRun the backup scriptAfter the token is generated, paste it in the script below:#!/bin/sh...