🚀
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に追加する
- tokens (classic)を生成する
- credentialsに追加する
echo "https://${USER}:${TOKEN}@github.com" >> ~/.git-credentials
Discussion