commit-email.rb
commit-email.rb is an utility to send commit mails for commits pushed to git repositories.
See the following URL about git.
-
git: git-scm.com/
- Kouhei Sutou
-
<kou@clear-code.com>
- Ryo Onodera
-
<onodera@clear-code.com>
commit-email.rb is licensed under GPLv3 or later. See license/GPL-3.txt for details.
-
Ruby >= 1.8 (including 1.9.1)
-
git >= ??? (any recent git should work)
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.
-
Kouhei Sutou wrote first prototype.