Download a private repo from Github with MFA enabled

- Create a personal access token
- Use it as the username in the request
export GITHUB_TOKEN=...
curl --location https://$GITHUB_TOKEN@github.com/myname/myrepo/archive/mybranch.zip >myrepo.zip
Date: 2021-03-10
Tags:
git
Share:


