Backup of Gitlab repositories
Reproducible Git
If you ever had to download or backup your Gitlab repositories, you would probably have to do that manually for every repository you own. As of this writing, I had 54 and that was not my idea of a lazy afternoon. So I used the Gitlab API and with the help of Gitlab ‘Private Token’ setup this Python script to do the job for me.
import requests import json import os def get_repo(repo): os.
[Read More]