I am trying to setup a git repository as server repository for users to check in and check out their changes.

I am trying to do a poc so that both local and remote repositories are on one machine itself .

Here is what all I did to create repository (as a remote server repository) :

created a repository using GIT Gui (now I have a directory with .git folder in it).

ran command git --bare init --shared myRepo.git to make it bare for pushing to repository

now I shared the myRepo.git folder using windows sharing and security.

And then I mapped this shared folder to a network drive z:

At location d:/myrepository I created a repository(local , that will be on all the machines that will be checking in and out of the server) using GIT Gui.

Here on a newbee GIT user in me comes in picture. I tried various things that may or may not make sense . Please tell why something i tried is right or wrong and if you can help me resolve.
Here is what i tried on local(myrepository) :

$ git clone \\z:\myRepo.git
Cloning into 'myRepo'...
ssh: \\z: no address associated with name
fatal: The remote end hung up unexpectedly**
$ git clone file:///z:\myRepo.git
Cloning into 'myRepo'...
fatal: 'z:myRepo.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly**
$ git clone file:///myRepo.git
Cloning into 'myRepo'...
fatal: 'C:/Program Files/Git/myRepo.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly**
$ git clone git@\\z:\myRepo.git
Cloning into 'myRepo'...
ssh: \\z: no address associated with name
fatal: The remote end hung up unexpectedly**
$ git clone ssh://git@\\z:\myRepo.git
Cloning into 'myRepo'...
ssh: connect to host port 22: Bad file number
fatal: The remote end hung up unexpectedly**
$ git clone ssh://z:\myRepo.git
Cloning into 'myRepo'...
ssh: connect to host port 22: Bad file number
fatal: The remote end hung up unexpectedly**
$ git clone ssh://z:\myRepo.git
Cloning into 'myRepo'...
ssh: connect to host port 22: Bad file number
fatal: The remote end hung up unexpectedly**
$ git clone \\z:\myRepo.git
Cloning into 'myRepo'...
ssh: \\z: no address associated with name
fatal: The remote end hung up unexpectedly**
$ git clone ssh://git@172.16.70.177/git1/myRepo.git
Cloning into 'myRepo'...
ssh: connect to host 122.16.30.127 port 22: Bad file number
fatal: The remote end hung up unexpectedly**

Hi Pedro,<br/> This is what I got :<br/> $ git clone z:\myRepo.git<br/> Cloning into 'myRepo'...<br/> fatal: 'z:myRepo.git' does not appear to be a git repository<br/> fatal: The remote end hung up unexpectedly
–
waste ideasAug 29 '12 at 6:19