본문 바로가기

비전공자 검은콩의 몸으로 부딪히는 실무

[GIT] remote: Permission to 프로젝트.git denied to 소유자. fatal: unable to access 'https://github.com/소유자/프로젝트.git/': The requested URL returned error: 403



시도했던 방법
1. SSH 키를 추가
2. git 설정 변경



git remote set-url {remote git 주소 복사}
git remote set-url https://github.com/깃허브계정이름/레포이름

 

https://git-scm.com/

 


나는 https://git-scm.com/ 페이지에서 git을 다운받아서 git bash를 사용하는 중이었다.

 

 

 

git bash


새로운 git 계정을 만들고 새로운 project을 작성 해 나가려고 초기 설정을 하던 중 remote: Permission error: 403이 발생하게 되었다.....하...

 

SSH 키를 추가, git 설정 변경 방법으로도 해당 오류가 계속 발생하였고,

블로그( https://recoveryman.tistory.com/392)를 보고 오류를 해결하였다.

 

 

제어판 - 사용자계정


windows 자격 증명 관리


github 사용자 이름, 암호 변경

 


출처 : https://recoveryman.tistory.com/392