Git hook to send email notification on repo changes

前端 未结 11 1942
情深已故
情深已故 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:33

    This is my way of send email notification to users every time some one push to the repository.

    Setting Up Git Commit Email Notification

    It's based on Andy Parkins's scripts. I change it to used SMTP to send email. Of course, gmail's SMTP can also be used.

提交回复
热议问题