title: Need to do first commit using bitbucket rest API
body: <p>I am using bitbucket rest api for creating new private repository &amp; create new branch. Both api's are working fine.</p>
  <p><strong>POST https://{bitbucket url}/rest/api/1.0/users/{username}/repos</strong> -&gt; create new repository</p>
  <p><strong>POST https://{bitbucket url}/rest/api/1.0/users/{username}/repos/{repo name}/branches</strong> -&gt; create new branch</p>
  <p>But i need to do that in a single call, Say i am created one new repository and i am not able to create branch. Because it is empty repository. So we need to do the first commit in MASTER branch, then only it allow me to create a new branch.</p>
  <p>I need to do that first commit using bitbucket rest api. But i am not able to find that API.
  Could you please help me to resolve this.</p>