Hi Guys,
I am trying to find a Git Commit Monitor for Windows. Does anyone know whether one exists or ?
Ideally it would essentially monitor the log and notify when a new commit has occurred ?
Thx
Hi Guys,
I am trying to find a Git Commit Monitor for Windows. Does anyone know whether one exists or ?
Ideally it would essentially monitor the log and notify when a new commit has occurred ?
Thx
The best would be to use the post-receive hook.
On your repository on the server, you have to put a shell script named 'post-receive' in the .git/hooks directory. This script will be invoked each time something is pushed and it's passed argument via stdin in the form
There are examples scripts provided with recent version of git. Look in:
/usr/share/doc/git-core/contrib/hooks/post-receive-email
On windows, look at the path of your install to find it ...