how to set up a git repository which can be accessed by network in ubuntu 12.10
- by hguser
Now we want to set up a private git repository in the ubuntu 12.10,then other developments can access it through the local network.
Now I just can create a repository use git init,for example:
cd myproject
git init
Which will create .git directory,but I do not know how to access it thougth network like:
git://192.168.1.1/myproject/.git
Any idea?
BTW,I have tried:
git init --bare
which will give me a error:
git add error : "fatal : malloc, out of memory"