From ProgClub
Jump to: navigation, search

Git is a version control system used by ProgClub as part of its Software Configuration Management to store files related to its projects.


You can browse all of ProgClub's git repositories here:

Create new git project

To create a new project in git:

$ ssh
$ sudo -s
# cd /git
# mkdir repo-name.git
# cd repo-name.git
# git init --bare
# echo repo-name > desription
# mv hooks/post-receive.sample hooks/post-receive
# chown -R www-data:user .
# vim config


  sharedrepository = 0666

  mailinglist =
# vim hooks/post-receive


. /usr/share/doc/git-core/contrib/hooks/post-receive-email

Then from your workstation:

$ git clone ssh://
$ cd repo-name
$ git commit -m "Initial empty commit" --allow-empty
$ git push origin master