본문 바로가기

Git

Git : Authentication failed 에러 처리

remote: HTTP Basic: Access denied
fatal: Authentication failed for 'https://gitlab.com/~~'

 

인증 관련 데이터를 초기화하기 위해서는 아래와 같이 처리하면 된다.

  • 관리자 권한으로 명령창을 연다.
  • 'git config --system --unset credential.helper' 를 실행한다.
  • global 영역 설정이 문제를 일으킬 수 있으니 'git config --global --unset credential.helper' 를 실행한다. 

 

 

 

출처 : https://stackoverflow.com/questions/47860772/gitlab-remote-http-basic-access-denied-and-fatal-authentication