GitAgent
Command line utility tool to minitor git repository. If it finds new commits, it will send you an email to notify the changes. GitAgent uses Gmail to send you the notification email, therefore the sender email must be Gmail.
Installation
$ gem install git_agent
Usage
check_repo -t [email protected]:ungsophy/git_agent.git \
-s [email protected] \
-p 123123 \
-r [email protected] \
-h https://github.com/ungsophy/git_agent
-tThe target repository that you want to monitor.-sSender email address (must be Gmail).-pSender password.-rRecipient email address (can be any email).-hThe project home page. This parameter is optional.
Combine GitAgent with Cronjob
0 0 * * * /bin/bash -l -c 'check_repo -t [email protected]:ungsophy/git_agent.git -s [email protected] -p 123123 -r [email protected] -h https://github.com/ungsophy/git_agent'
The above example is checking ungsophy/git_agent repo every day.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request