how to set up a git repository which can be accessed by network in ubuntu 12.10
Posted
by
hguser
on Server Fault
See other posts from Server Fault
or by hguser
Published on 2012-09-10T01:29:31Z
Indexed on
2012/09/11
9:40 UTC
Read the original article
Hit count: 202
git
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"
© Server Fault or respective owner