git utility collection that include commit mail system.
Ruby Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
github-event-watcher
github-post-receiver
license
test
tool
.travis.yml
AUTHORS
Gemfile
NEWS.ja.rdoc
NEWS.rdoc
README.ja.rdoc
README.rdoc
Rakefile
commit-email.rb

README.rdoc

README

This repository have splitted to following repositories:

Name

commit-email.rb

Description

commit-email.rb is an utility to send commit mails for commits pushed to git repositories.

See the following URL about git.

Authors

Kouhei Sutou

<kou@clear-code.com>

Ryo Onodera

<onodera@clear-code.com>

License

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

Dependencies

  • Ruby >= 1.8 (including 1.9.1)

  • git >= ??? (any recent git should work)

Install

commit-email.rb 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:

/usr/bin/ruby /path/to/commit-email.rb \
  --from-domain=example.com \
  --error-to=onodera@example.com \
  commit@example.com

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

Thanks

  • Kouhei Sutou wrote first prototype.