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
  •  | 
  •  

سؤال

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?

هل كانت مفيدة؟

المحلول

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.

نصائح أخرى

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top