title: Sending multiple options via "--push-option=" in "git push"
body: <p>With <strong>Git 2.10</strong> a new option came <a href="https://git-scm.com/docs/git-push#git-push---push-option" rel="noreferrer">[--push-option=]</a>. When a bare repository is created a <strong>post-receive.sample</strong> is auto created inside hooks directory, which saying following:</p>
  
  <pre><code>#!/bin/sh
  #
  # An example hook script to make use of push options.
  # The example simply echoes all push options that start with 'echoback='
  # and rejects all pushes when the "reject" push option is used.
  #
  # To enable this hook, rename this file to "pre-receive".
  </code></pre>
  
  <p>I tried following steps</p>
  
  <ol>
  <li>Renaming the file to pre-receive</li>
  <li>Clone the repository to a local machine</li>
  <li>tried <code>git push --push-option=echoback=Hello_world</code></li>
  </ol>
  
  <p>As the sample says it put back the <code>Hello_world</code> in my terminal.</p>
  
  <p><a href="https://git-scm.com/docs/githooks#pre-receive" rel="noreferrer">Git Hook Manual</a> says that i could send multiple options via <code>--push-option=</code> which will be available via <code>GIT_PUSH_OPTION_0, GIT_PUSH_OPTION_1,...</code> as the manual suggests.</p>
  
  <p><strong>My Question is How should i pass multiple options ? which could be passed via</strong> <code>--push-option=</code></p>
  
  <p>Tried options:</p>
  
  <ol>
  <li><code>git push --push-option="echoback=Hello echoback=World"</code></li>
  <li><code>git push --push-option="echoback=Hello;echoback=World"</code></li>
  <li><code>git push --push-option="echoback=Hello&amp;echoback=World"</code></li>
  <li><code>git push --push-option="echoback=Hello%echoback=World"</code></li>
  <li><code>git push --push-option="echoback=Hello,echoback=World"</code></li>
  </ol>