Git says remote ref does not exist when I delete remote branch
<p>I ran <code>git branch -a</code> </p>

<pre><code>* master
  remotes/origin/test
  remotes/origin/master
</code></pre>

<p>I want to delete my remote branch </p>

<p>I've tried </p>

<pre><code>git push origin --delete remotes/origin/test
</code></pre>

<p>I got </p>

<blockquote>
  <p>error: unable to delete 'remotes/origin/test': remote ref does not
  exist</p>
</blockquote>

<p>How is it not exist ? </p>

<p>I did a <code>git branch -a</code>, and I saw it listed. </p>

<p>Did I miss anything ? </p>