![git clone: "remoto: no se pudo encontrar el espacio de nombres que estaba buscando". ... "fatal: no se pudo leer desde el repositorio remoto".](https://rvso.com/image/1645720/git%20clone%3A%20%E2%80%8B%E2%80%8B%22remoto%3A%20no%20se%20pudo%20encontrar%20el%20espacio%20de%20nombres%20que%20estaba%20buscando%22.%20...%20%22fatal%3A%20no%20se%20pudo%20leer%20desde%20el%20repositorio%20remoto%22..png)
Recibí el siguiente error al intentar clonar mi repositorio de prueba desde 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.
Respuesta1
Solo quiero compartir este estúpido error con cualquiera que confunda el separador de ruta de Windows "\" con un separador de URL "/":
En lugar de
git clone [email protected]:GITUSERNAME\test.git
necesitas
git clone [email protected]:GITUSERNAME/test.git
con "/".
Puede parecer muy obvio, pero me llevó algún tiempo darme cuenta.
Adición posterior:
Tuve el mismo error nuevamente, pero por otra cosa, y aún así, era simplemente una URL incorrecta. Lo intenté
git clone ssh://[email protected]:GITUSERNAME/test.git
aunque necesitaba:
git clone [email protected]:GITUSERNAME/test.git