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

StackOverflow https://stackoverflow.com/questions/4728736

  •  12-10-2019
  •  | 
  •  

Pergunta

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?

Foi útil?

Solução

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.

Outras dicas

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top