title: VSTFS 2015: Unable to delete remote branch
body: <p>I have a setup of VSTFS that is 2015 with git. Somehow we have two branches, <em>Development</em> which is one I want to keep isolated since that is our master. Somehow there is a remote branch <em>development</em> (lower case d) as well. I want to delete this one since it is confusing, but I'm afraid to do so in case we get into issues. </p>
  
  <p><a href="https://i.stack.imgur.com/jZ07a.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jZ07a.png" alt="enter image description here"></a></p>
  
  <p>My problem is, I'm running VS 2017 and it won't delete the remote branch. I did this by right clicking in team explorer and clicking "delete". </p>
  
  <p><a href="https://i.stack.imgur.com/zVPrB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zVPrB.png" alt="enter image description here"></a></p>
  
  <p>The message from the output window says the following: </p>
  
  <blockquote>
    <p>Error encountered while deleting branch from the remote repository: Git process failed unexpectedly.
    PushCommand.ExecutePushCommand</p>
  </blockquote>
  
  <p>So, I open up a cli and see what's there. The command here would be to do </p>
  
  <pre><code>git branch -d -r origin/&lt;branchname&gt;
  </code></pre>
  
  <p>However, I tried it on another throw away branch, and I'm still able to see it in the TFS listing in the browser. </p>
  
  <p>My question is, how do I delete lower case development to make sure that I don't delete uppercase development?</p>
  
  <p><strong>UPDATE</strong>: </p>
  
  <p>Seems that I am missing ForcePush permissions on our git instance, despite being a TFS administrator. Currently determining if this is the cause of the issue. </p>