Build Status

GitCommitMailer

A utility to send commit mails for commits pushed to git repositories.

See also Git.

Authors

License

GitCommitMailer is licensed under GPLv3 or later. See license/GPL-3.txt for details.

Dependencies

  • Ruby >= 2.0.0
  • git >= 1.7

Install

$ gem install git-commit-mailer

git-commit-mailer utilizes git's hook functionality to send commit mails.

Edit "post-receive" shell script file to execute it from there, which is located under "hooks" directory in a git repository.

Example:

    git-commit-mailer \
      --from-domain=example.com \
      [email protected] \
      [email protected]

For more detailed usage and options, execute commit-email.rb with --help option.