From 3c47efb1fce3d30aa38aa88ab0dc0a336514ce6d Mon Sep 17 00:00:00 2001 From: Eeshan Garg Date: Sun, 4 Jun 2017 22:30:30 -0230 Subject: [PATCH] templates: Add macro for appending branches to webhook URLs. This macro is an alternative to git-webhook-url-with-branches.md, which contains the full URL with a `branches` query parameter at the end. This macro is for when we just want to specify that this can be done but the URL to append to can be variable or is unique to a particular integration (and thus, doesn't warrant its own macro and a full URL example). --- templates/zerver/help/include/git-append-branches.md | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 templates/zerver/help/include/git-append-branches.md diff --git a/templates/zerver/help/include/git-append-branches.md b/templates/zerver/help/include/git-append-branches.md new file mode 100644 index 0000000000..ffc6f4fcc3 --- /dev/null +++ b/templates/zerver/help/include/git-append-branches.md @@ -0,0 +1,4 @@ +You can also limit the notifications you receive to specific branches +by appending `?branches=master,development` to the end of the URL, +where `master` and `development` are the branches you'd like to be +notified about.