🚀

githubのauthentification error

に公開

Error Message

git cloneで以下の様なエラーが出たときの対処

remote: Repository not found.
fatal: Authentication failed for 'https://github.com/${USER_NAME}/${REPO_NAME}.git/'

Github TokenをCredendialに追加する

echo "https://${USER}:${TOKEN}@github.com" >> ~/.git-credentials

Discussion