An open API service indexing awesome lists of open source software.

https://github.com/vietdien2005/git-alert

This bash script watch new commit of your repository.
https://github.com/vietdien2005/git-alert

bash crontab git notification

Last synced: 2 months ago
JSON representation

This bash script watch new commit of your repository.

Awesome Lists containing this project

README

          

git-alert
========

This bash script watch new commit of your repository

Notice: Only on Linux, sorry Unix & Windows guys

Installation:
------------
Run command:

git clone https://github.com/vietdien2005/git-alert.git
cd git-alert && chmod +x git-alert && sudo mv git-alert /usr/bin

And create your cron:

crontab -l | { cat; echo "* * * * * git-alert /home/repo origin/master >/dev/null 2>&1"; } | crontab -

Or run command ` crontab -e ` and input this line:

* * * * * git-alert /home/repo origin/master >/dev/null 2>&1

Usage:
----------

git-alert /

Example:
----------

git-alert /home/your_repo origin/master