반응형 Git2 [Github] The requested URL returned error: 403 해결 방법 remote: Permission to ['repository'] denied to ['user.name'] fatal: unable to access ['repository url']: : The requested URL returned error: 403 위와 같은 에러가 발생했을 때, 해결방법을 알아보자. 1. Regeneration token and check 'repo' 토큰을 재발행하고, 재발행할 때, 'repo'를 체크한다. 2. git remote remove origin origin을 제거한다. 3. git remote add origin https://[token]@github.com/[user.name]/[repo.git] 재발행한 토큰을 직접 본인의 git 주소 앞에 넣어주면 에러가.. 2023. 1. 10. [Git] credential 파일 디렉토리 설정 github의 repository에 연결하기 위해, git config --local user.name "계정명" git config --local user.email "계정이메일" 을 입력하고 git add git commit -m "messeage" git push 를 진행하면 id와 password를 요구하는데 id는 github 가입할 때 사용한 아이디를 쓰고 비밀번호는 아래 링크를 참고해서 토큰을 복사해 붙이면 된다. https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token Creating a personal access token - GitHub Doc.. 2022. 5. 9. 이전 1 다음 반응형