![git clone: "remote: 찾고 있던 네임스페이스를 찾을 수 없습니다." ... "치명적: 원격 저장소에서 읽을 수 없습니다."](https://rvso.com/image/1645720/git%20clone%3A%20%E2%80%8B%E2%80%8B%22remote%3A%20%EC%B0%BE%EA%B3%A0%20%EC%9E%88%EB%8D%98%20%EB%84%A4%EC%9E%84%EC%8A%A4%ED%8E%98%EC%9D%B4%EC%8A%A4%EB%A5%BC%20%EC%B0%BE%EC%9D%84%20%EC%88%98%20%EC%97%86%EC%8A%B5%EB%8B%88%EB%8B%A4.%22%20...%20%22%EC%B9%98%EB%AA%85%EC%A0%81%3A%20%EC%9B%90%EA%B2%A9%20%EC%A0%80%EC%9E%A5%EC%86%8C%EC%97%90%EC%84%9C%20%EC%9D%BD%EC%9D%84%20%EC%88%98%20%EC%97%86%EC%8A%B5%EB%8B%88%EB%8B%A4.%22.png)
GitLab에서 테스트 저장소를 복제하려고 할 때 다음 오류가 발생했습니다.
C:\Users\USERNAME\Documents\MYPROJECT\test>git clone [email protected]:GITUSERNAME\test.git
Cloning into 'test'...
remote:
remote: ========================================================================
remote:
remote: The namespace you were looking for could not be found.
remote:
remote: ========================================================================
remote:
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
답변1
Windows 경로 구분 기호 "\"를 URL 구분 기호 "/"와 혼동하는 다른 사람들을 위해 이 어리석은 오류를 공유하고 싶습니다.
대신에
git clone [email protected]:GITUSERNAME\test.git
당신은 필요
git clone [email protected]:GITUSERNAME/test.git
와 함께 "/".
너무 당연해 보일 수도 있지만 그것을 깨닫는 데는 시간이 좀 걸렸습니다.
나중에 추가:
또 같은 오류가 발생했지만 다른 이유로 인해 여전히 잘못된 URL이었습니다. 나는 노력했다
git clone ssh://[email protected]:GITUSERNAME/test.git
비록 내가 필요했지만 :
git clone [email protected]:GITUSERNAME/test.git