Skip to content
This repository has been archived by the owner on Jul 6, 2018. It is now read-only.

clear-code/git-utils

Repository files navigation

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.

About

git utility collection that include commit mail system.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •