Git repositories in home directories
Appearance
A personal git repository can be created in your home directory on rtime server this way:
ssh login@rtime.felk.cvut.cz mkdir $HOME/myproject.git cd $HOME/myproject.git git init --bare --shared=everybody
If you want to make your repository public, it has to be accessible by user gitdaemon. It is usually sufficient to give "x" permission to your home directory:
setfacl -m user:gitdaemon:x $HOME
Read-only access for public repositories is possible with the following command:
git clone git://rtime.felk.cvut.cz/~yourlogin/repo-name.git