Git hook to send email notification on repo changes

前端 未结 11 1934
情深已故
情深已故 2020-11-28 01:33

How do I configure the appropriate Git hook to send a summary email whenever a set of changes is pushed to the upstream repository?

11条回答
  •  野性不改
    2020-11-28 02:24

    Not exactly a full answer since it is Github-specific, but if you happen to use Github it is extremely easy to configure "Service Hooks".
    For each repository you wish to monitor, enter Settings / Service Hooks.
    There are plenty of available integrations, such as Trac, Twitter, Amazon SNS, Jira, Asana, Bugzilla, FogBugz, IRC, Jabber, Pivotal Tracker, Trello and Email....
    Simply select email and feed it with a group email address.
    We use the email notifications to sync our developers.

提交回复
热议问题