remote: Permission to xxx/xxx.git denied to xxx. fatal: unable to access 'https://github.com/codeconn/gitfirst.git/xxx.git/': The requested URL returned error: 403

CODEDRAGON Development/Git, PM

반응형


 

 

오류 메시지

remote: Permission to xxx/xxx.git denied to xxx. fatal: unable to access 'https://github.com/codeconn/gitfirst.git/xxx.git/': The requested URL returned error: 403

codedragon@CODEMASTER MINGW64 /c/CodeLab/gitLab/gitfirst (master)

$ git push -u origin master

remote: Permission to codeconn/gitfirst.git denied to 10zeroone.

fatal: unable to access 'https://github.com/codeconn/gitfirst.git/': The requested URL returned error: 403

 

codedragon@CODEMASTER MINGW64 /c/CodeLab/gitLab/gitfirst (master)

 

 

오류 원인

여러 개의 원격저장소를 사용하여 작업할 경우 저장되어 있는 해당 원격 저장소에 접근하는 git계정이 상이하여 발생되는 문제로 기존에 사용했던 git계정 정보로 원격저장소에 접근하게 되어 해당 원격저장소와 git계정 정보가 일치하지 않을 경우 발생할 수 있습니다.

 

 

 

해결방법

Global 계정 정보 None으로 변경(삭제)


 


 

반응형