Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I set up git so that I get a message through gchat or aim that someone pushed onto the server?

Tags:

git

aim

What do I need to set up the server so that I get an update message through gchat/aim? Do I just set up a client on the server and use a hook combined with a script?

like image 271
newDelete Avatar asked Dec 06 '25 16:12

newDelete


2 Answers

You can use the .git/hooks/post-receive hook to inspect the new changesets and use a command line tool like sendxmpp to send the messages.

like image 93
Rudi Avatar answered Dec 08 '25 08:12

Rudi


yes. all you need to do is make sure you have a command-line way of using your instant messenger application.

like image 33
Adam Dymitruk Avatar answered Dec 08 '25 06:12

Adam Dymitruk