Git Server Setup
From Lyra
Contents |
Git Server Setup Instructions
General Info
Server is camel-ece.bu.edu Install of git is to /usr/local
Server Setup
1. Create a temp folder for CVS checkout
mkdir /tmp/git
2. Create a snapshot from cvs in the folder
cd /tmp/git git cvsimport -p x -d /home/cvs rfsm
3. Create the final Git hosting folder
mkdir /home/git
4. Clone the repo
cd /home/git git clone --bare /tmp/git
5. Set permissions
chown -R cvs:cvs /home/git
Server Hooks:EMAIL
mv .git/post-receive.sample .git/post-receive echo /usr/local/share/doc/git-core/contrib/hooks/post-receive-email >> .git/post-receive sudo cp /tmp/git-1.6.1/contrib/hooks/post-receive-email /usr/local/share/doc/git-core/contrib/hooks/. git config --add hooks.mailinglist "wqin@bu.edu" git config hooks.emailprefix "[lyra-git]" git config --global user.name "Lyra Server"

