[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Savannah-cvs] [Git] (edit)
From: |
mjflick |
Subject: |
[Savannah-cvs] [Git] (edit) |
Date: |
Sat, 27 Aug 2011 18:57:49 +0000 |
++added:
Enabling Commit Notifications
---------
Set git configurations::
cd /srv/git/eliot.git/
git config hooks.mailinglist address@hidden
Unprotect hooks/ directory::
chattr -i hooks/
cd hooks/
Create post-receive hook:
post-receive file::
#!/bin/bash
exec run-parts hooks/post-receive.d
Make script executable::
chmod +x post-receive
Create post-recieve.d directory::
mkdir post-receive.d#
cd post-receive.d
Link to post-receive-email script in post-receive.d directory::
ln -s /usr/src/git/contrib/hooks/post-receive-email post-receive-email
Protect hooks/ direcotry again::
cd ../..
chattr +i hooks/
--
forwarded from http://savannah.gnu.org/maintenance/address@hidden/maintenance
- [Savannah-cvs] [Git] (edit),
mjflick <=