*create a repo
# cd /home/user/git/
# mkdir test.git
# cd test.git
# git init --bare
# git clone ssh://user@host:port/~/git/test.git
....add some file
# git push origin master
*with cgit
# ln -s ~/git/test.git /var/www/htdocs/repo/test.git
$ ln -s target link
沒有留言:
張貼留言