On the remote machine (ubuntu 12.04 ) I created a test/ folder in my repo folder and inside the folder I used:
git init Running command ll inside the test folder will show me that there's .git folder inside test.
Now I want to clone remotely from this machine on my own machine (ubuntu 12.04) using:
git clone ssh://[email protected]/Documents/repos/test But I get the following error:
Cloning into 'test'... [email protected]'s password: //I enter password then... fatal: '/Documents/repos/test' does not appear to be a git repository fatal: The remote end hung up unexpectedly I'm quite new to using git and can't think of any reason that it shouldn't work.
How would you explain that error message?

../test/.git/Documents/repos/testis the right path or if it wasn't instead/home/rahil-p001/Documents/repos/test