Created: 2008-12-23 13:06
Updated: 2016-05-08 20:20
License: gpl-3.0



notify-mublog is a git post-receive hook script that posts to a microblogging site like Identica or Twitter.


This code is copyright (c) 2008 by Jack Moffitt and is available under the GPLv3. See LICENSE.txt for details.


To use notify-mublog, just copy to your repository's .git/hooks dir and call it post-receive. Be sure to set it executable with chmod 755 post-receive as well.

You'll need to set some configuration parameters in the Git repo as well:

  • hooks.mublogurl - The microblog update API URL. For Identica, this is It will be very similar for other Laconica instances. For Twitter, this URL is
  • hooks.mubloguser - The username on the microblog to post as.
  • hooks.mublogpass - The password for the microblog user.
  • hooks.commiturl - A URL pattern to use for the Web link to the commit. Use %s in place of the commit hash; it will be substituted in upon execution.
Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more