zulip/templates/zerver/integrations/git.md
Eeshan Garg f29b9f14fd integrations: Update docs for git and codebase.
Doing both as once due to the common dependency on
change-zulip-config-file-indented.md.
2018-05-15 18:02:56 -04:00

934 B

Get Zulip notifications for your Git repositories!

  1. {!create-a-bot-indented.md!}

  2. {!download-python-bindings.md!}

  3. {!create-stream.md!}

  4. {!change-zulip-config-file-indented.md!}

    You may also need to change the value of STREAM_NAME.

    You can specify the branches that will be used for notifications by modifying the commit_notice_destination function. By default, pushes to the master and test-post-receive branches will result in a notification.

  5. Symlink /usr/local/share/zulip/integrations/git/zulip_git_config.py to the .git/hooks directory of your git repository.

  6. Symlink /usr/local/share/zulip/integrations/git/post-receive to the .git/hooks directory of your git repository.

!!! tip ""

You can test the plugin without changing your `master` branch by
pushing to the `test-post-receive` branch.

{!congrats.md!}