git

Git Commit 후 Push 안됌 (feat. repository not found / git-receive-pack not permitted 오류 )

해니01_15 2024. 7. 23. 13:51

 

[배경]

미리 생성 되어 있는 프로젝트에 깃 연결을 한 후 그 프로젝트를 푸시하려고 하였다. 

하지만 자꾸 아래와 같은 오류가 떴다. 

Can't connect to any repository: https://github.com/sae-ssak/tito-on-server.git (https://github.com/sae-ssak/tito-on-server.git: git-receive-pack not permitted on 'https://github.com/sae-ssak/tito-on-server.git/')

 

많은 사람들이 블로그에 개인토큰을 password로 사용해서 해보라고 했다. 

 

해봤다. 안된다. 계속 같은 오류 

 

[원인]

좌우를 비교해 보시라 

Owner 1명과 Member 2명 이다. Member는 push 권한이 없다..... 

그래서 오른쪽 처럼 전부다 Owner 로 바꿔주면 된다. 이건 기존의 오너가 설정으로 바꿔줄 수 있다. 

그 후 푸시 해보면 아주 잘 된다!