On Wednesday, July 4, 2012 1:24:12 PM UTC+2, praveenm mulimani wrote:
>  Hi All,
> We have one requirement from the development team, in the git repository 
> x, y, z folders are there if x folder is updated the developer should get 
> the mail (notification).
> How to achieve this .
> We have installed & configured Gerrit Code 
> Review<http://code.google.com/p/gerrit/>( & git web is configured.
> Regards
> Praveen

There are a few options for sending commit/push mails in Git, most of them 
share that they are triggered by a hook in a central git repository that 
people are pushing to:

   - The sample hook bundled with Git itself, see the 
   .git/hooks/post-receive.sample file in any git repository
   - A more advanced script that produces HTML 
   - At our place we use the 
   https://github.com/bitboxer/git-commit-notifier - it produces pretty nice 
   emails, written in Ruby

I would start with the sample hook in git, and then work my way from there 
according to your developers' demands.

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To view this discussion on the web visit 
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to