Syncing my public repo of scripts


I am pulling the repo locally; it’s public, so anyone can. 

git init

git remote add origin https://github.com/wickedyoda/public-setupfiles

git fetch

git checkout main

To remove "rm -rf .git"

Start interactive setup

gh auth login

Authenticate against github.com by reading the token from a file

gh auth login --with-token < mytoken.txt

Authenticate with specific host

gh auth login --hostname enterprise.internal

More info: https://cli.github.com/manual/gh_auth_login