title: Change branch name when running custom build in Teamcity
body: <p>Given I have Teamcity job with Git VCS root with default branch which can be changed with <code>branch-name</code> parameter:</p>
  
  <p><a href="https://i.stack.imgur.com/N6v5W.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/N6v5W.png" alt="default branch"></a></p>
  
  <p>When I e.g. set <code>branch-name</code> to <code>develop</code> in admin screen, go back to build configuration home and run custom build where I change <code>branch-name</code> parameter to <code>master</code>
  then I get:</p>
  
  <p><a href="https://i.stack.imgur.com/gjijn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gjijn.png" alt="popup1"></a></p>
  
  <p><a href="https://i.stack.imgur.com/iLbqg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iLbqg.png" alt="popup2"></a></p>
  
  <p>Why is that?
  What should I change, so that I don't get this message and I can change branch when running custom build?</p>
  
  <p>The reason for this is I want to build and deploy software artifacts from any feature branch</p>