본문 바로가기

Trouble Shooting

[Trouble Shooting] organization 내 레포 푸시 불가 오류

개요

이번에 새로 시작한 프로젝트를 위해 github의 organization을 생성하였다.

 

첫 PR을 내가 올리기로 하고 코드 작성을 끝마쳤다.

 

 

 

문제

그런데 clone한 레포에 push를 올리려고 하니 

PS C:\Users\chose\Desktop\WEB\스프링\spring-rest-api> git push origin feature/#1
info: please complete authentication in your browser...
remote: Permission to "organization"/"레포".git denied to "깃허브 닉네임"
fatal: unable to access 'https://github.com/"organization"/"레포".git/': The requested URL returned error: 403

와 같은 오류를 만났다.

 

github의 Public Access Token을 재발급 받고, 자격증명 관리자 등도 다 만져봤는데 실패였다.

 

 

 

해결

혹시나 해서 organization에서 다른 레포를 생성한 후, push를 진행해봤다.

 

결과는 역시나 매우 성공적이었다.

 

레포를 생성한 팀원이 그 레포에 대한 admin 권한을 주지 않아 생긴 문제였던 것이다.

 

 

 

기초적인 것에 대해 하나하나 배워나가는 소중한 경험이었다!