Could not read from remote repository

0

I created a BARE repository in the folder:

c://projetos/cliente1

this in the VMBOX ORACLE called (vmserver)

Then when real pc access time, returns the following message:

  

$ git clone file: //// vmserver / projects / client1 Cloning into   'client1' ... fatal: '// vmserver / projects / client1' does not appear to   be a git repository fatal: Could not read from remote repository.

     

Please make sure you have the correct access rights and the repository   exists.

And if I add (c :) it shows the same message.

    
asked by anonymous 10.06.2017 / 05:19

1 answer

0

In case you do not use an accessible URL you need to use the SSH syntax to access the repository:

$ git clone user@vmserver:/vmserver/projetos/cliente1

In this case user@vmserver is what you would use to access the VM via SSH.

Git on a Server

    
12.06.2017 / 12:54