DevOps/Git
fatal: repository '' not found
Rohin
2022. 3. 29. 11:29
반응형
MAC 에서 git clone 을 시도했을때 해당 fatal: repository '' not found 에러가 나타났다.
글쓴이는 aws codecommit을 git clone으로 받아오려는 작업을 하고있던 중이였다.
이때 확인해볼 사항은 아래와 같다.
1. 아래와 같은 방식으로 잡아본다.
# 형식
git clone https://[git user name]:[git password]@[git repository address]
# 예시
git clone https://devmin:1234asdf12234@github.git
2. URL링크를 다시 잡아본다.
git remote remove origin
git remote add origin URL
3. git 버전 문제.(해결)
저같은경우 git 버전이 2.30.2였는데 해당 오류는 2.35.1로 버전을 올리면서 해결되었습니다.