개발환경

[error] Authentication failed for ~~ 에러해결

감자156 2023. 4. 18. 17:24
반응형

github 로그인 시 토큰을 발행받아 적용해야 함.

 

해결)

 

기본적인 설정 해주기

git config --global user.name 깃헙아이디
git config --global user.email 깃헙이메일

 

여기서부터가 토큰 발행

 

깃헙 홈페이지에 로그인하여 아래 순서에 따라 토큰을 발행받기

 

https://github.com/

 

GitHub: Let’s build from here

GitHub is where over 100 million developers shape the future of software, together. Contribute to the open source community, manage your Git repositories, review code like a pro, track bugs and fea...

github.com

 

우측 상단의 본인 아이콘 클릭 -> settings 

 

 

좌측 하단의 Developers Setting 

 

 

좌측 하단 Personal access tokens -> Tokens (classic)

 

 

우측 상단 Generate new token -> Generate new token (classic)

 

 

이름, 사용기간, 사용범위 설정하고 하단의 Generate Token

 

 

ghp_~~~~~~~~ 꼴의 생성된 토큰을 복사하여 요구할 때마다 복붙 해주면 됨.

 

반응형