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

git utility collection that include commit mail system.

Notifications You must be signed in to change notification settings

clear-code/git-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Mar 27, 2015
c4d2d83 · Mar 27, 2015
Nov 19, 2014
Mar 2, 2015
Sep 27, 2010
Mar 16, 2015
Mar 23, 2013
Mar 16, 2015
May 13, 2010
Dec 15, 2013
May 13, 2010
May 13, 2010
Sep 27, 2010
Mar 27, 2015
Oct 8, 2013
Mar 16, 2015

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

<[email protected]>

Ryo Onodera

<[email protected]>

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 \
  [email protected] \
  [email protected]

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

Thanks

  • Kouhei Sutou wrote first prototype.