인지용

git permission denied 에러 해결 본문

에러 해결

git permission denied 에러 해결

인지용 2022. 1. 26. 08:31

새로운 리파지토리를 사용할 때 permission denied to def 에러 발생

 

해결방법 mac 기준

설정에가서 깃허브 아이디를 변경해주면 됩니다.

 

1. 키체인 켜기

2. 로그인 들어가기

3. github.com 더블클릭

4. 사용하고자 하는 아이디 입력

 

1. 키체인

1. 키체인의 로그인에 들어가줍니다.

2. githib.com을 더블 클릭합니다.

 

3. 계정 부분에 사용하고자하는 github 아이디 입력

4. 암호보기 체크 후 mac계정의 비밀번호 입력

 

그러면 정상적으로 push가 됩니다!

 

 

 

출처

(윈도우 해결방법도 포함되어 있습니다.)

https://recoveryman.tistory.com/392

 

[깃허브(Github)] 21. remote: Permission to 에러

remote: Permission to gitest01/gitest01.github.io.git denied to xxxx. fatal: unable to access 'https://github.com/yyyy/yyyy.github.io/': The requested URL returned error: 403 remote: Permission to~~..

recoveryman.tistory.com