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/>(2.2.2.1) & 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 
   mails: 
http://blog.chomperstomp.com/making-git-show-post-receive-e-mails-as-an-html-color-formatted-diff/
   - 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 
https://groups.google.com/d/msg/git-users/-/zI_lOK5vii8J.
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