Skip to content

Instantly share code, notes, and snippets.

View sma2788724's full-sized avatar

test test sma2788724

View GitHub Profile
@sma2788724
sma2788724 / github_clone_using_token.sh
Created April 16, 2023 10:06 — forked from magickatt/github_clone_using_token.sh
Clone a GitHub repository using a Personal Access Token
export GITHUB_USER=magickatt
export GITHUB_TOKEN=secret
export GITHUB_REPOSITORY=magickatt/ContainerisingLegacyApplicationsTalk
git clone https://${GITHUB_USER}:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}