Skip to content
 
 

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Commit Email Hook

This PHP script is a web hook and sends your commits including the diff to a configured email address. It works with GitLab and GitHub.

Installation

curl -s https://getcomposer.org/installer | php
php composer.phar install
cp config.php.sample config.php

Configuration

GitLab

GitHub

  • Create a GitHub OAuth token with the following command:
curl -u YOUR_GITHUB_USERNAME -d '{"scopes":["repo"],"note":"Commit Emails"}' https://api.github.com/authorizations

About

GitLab and Github Commit Email Hook

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors