On Thu, 11 Aug 2011 17:28:44 +0530
pavan kumar <nagubandi...@gmail.com> wrote:

> hi, have gone through the the information.
> i tried the examplein :
> http://wiki.debian.org/Alioth/Git#Commit_mails_with_diff
> i didnt get any notification while push is made to the repo.
> what would be problem. can any one help.
> 
> i would like to set a notification email for a branch when a push is
> made to it.
Start with something as simple as writing

echo 'it works' >/tmp/myhook

at the top of your hook script (assuming it's a shell script, of
course; for a different lanugage such an "I'm working" test will be
different) and see if it at least runs when you perform the action the
script is hooked onto.

If you'll see that /tmp/myhook file created then the hook script works
and the problem is elsewhere.  Otherwise do figure out why the hook did
not run (wrong name, not executable by the user with which credentials
Git runs etc).

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.

Reply via email to