git error remote: Repository not found. fatal: repository ~~ not found

hyereen·2021년 12월 7일
0

~~~@~~~ MINGW64 /d/~~~(main)
$ git push origin main
remote: Repository not found.
fatal: repository 'https://github.com/~~~.git/' not found

깃 클론 받은 뒤 업데이트하고 다시 푸시하려는데 위와 같은 에러가 나와서 구글링 해보았다.

해결방안

1) 자격증명 삭제 후 토큰 이용하여 다시 만들기
- https://someone-life.tistory.com/40
- https://firstquarter.tistory.com/entry/Git-%ED%86%A0%ED%81%B0-%EC%9D%B8%EC%A6%9D-%EB%A1%9C%EA%B7%B8%EC%9D%B8-remote-Support-for-password-authentication-was-removed-on-August-13-2021-Please-use-a-personal-access-token-instead

2) set-url 재설정
- https://carpet-part1.tistory.com/289

3) 리포지토리 권한 설정
- https://ux.stories.pe.kr/190

나 같은 경우는 1, 2번에서 모두 안되서 폴더 삭제하고 다시 클론 받고 자격증명도 다시 만들고 다 해봤는데 알고보니 3번이었다..^^! 푸시되서 행복*^^**

profile
안녕하세요. 피드백은 언제나 감사합니다.

0개의 댓글