I'm trying to clone/pull a repository in another PC using Ubuntu Quantal. I have done this on Windows before but I don't know what is the problem on ubuntu. I tried these:
git clone file:////pc-name/repo/repository.git git clone file:////192.168.100.18/repo/repository.git git clone file:////user:pass@pc-name/repo/repository.git git clone smb://c-pc/repo/repository.git git clone //192.168.100.18/repo/repository.git
Always I got:
Cloning into 'intranet'... fatal: '//c-pc/repo/repository.git' does not appear to be a git repository fatal: The remote end hung up unexpectedly
fatal: repository '//192.168.100.18/repo/repository.git' does not exist
- The other PC has username and password
- Is not networking issue, I can access and ping it.
- I just installed git doing
apt-get install git(dependencies installed)
- I'm running git from the terminal (I'm not using git-shell)
What is causing this and how to fix this? Any help would be great!
I have cloned the repo on Windows using
git clone //192.168.100.18/repo/intranet.git without problems. So, the repo is accessible and exist! Maybe the problem is due user credentials?