소소한 컴퓨터 이야기

Git Push 시 발생하는 403 Error 해결하기

by Cori

터미널에서 git push 하면 발생하는 'unable to access ~.git: The requested URL returned error: 403' ERROR !

다음과 같이 설정해주자.  

git remote -v    # 원격 저장소 리스트 확인

# 원격 저장소 주소 재설정 
git remote set-url origin https://[사용자이름]@github.com/[사용자이름]/[저장소이름].git

이후 add, commit, push하면 정상적으로 push할 수 있다. 

'Errors > Non-AI' 카테고리의 다른 글

Jupyter Notebook Kernel Restart 오류 해결  (0) 2024.05.20
(unicode error) 'utf-8' codec can't decode byte 0xb0  (0) 2024.05.20
docker push error  (0) 2024.04.08

블로그의 정보

코딩하는 오리

Cori

활동하기