title: Can't push master branch to git repository with netbeans
body: <p>I just installed netbeans and connect to my git repository throught ssh. </p>
  
  <p>Everything works fine except pushing master branch. Every time I commit some changes on master branch and trying to push branch I get this popup:</p>
  
  <pre><code>There were errors during the push.
  Open output to see more details.
  </code></pre>
  
  <p>and the details are</p>
  
  <pre><code>==[IDE]== Jun 30, 2012 4:29:42 PM Pushing finished.
  ==[IDE]== Jun 30, 2012 4:32:38 PM Pushing
  git push ssh://50.57.180.187:22/var/www/netbeans +refs/heads/master:refs/heads/master
  Remote Repository Updates
  Branch : master
  Old Id : cc6de40b3236047b0212e318f9977a7b75395177
  New Id : fe8f3af403524ba5731fdf1e0b8773c4ef223840
  Result : REJECTED_OTHER_REASON
  
  Local Repository Updates
  Branch : origin/master
  Old Id : cc6de40b3236047b0212e318f9977a7b75395177
  New Id : fe8f3af403524ba5731fdf1e0b8773c4ef223840
  Result : NOT_ATTEMPTED
  
  ==[IDE]== Jun 30, 2012 4:32:43 PM Pushing finished.
  </code></pre>
  
  <p>But with other branches everything works great.
  Am I doing something wrong?</p>
  
  <p>EDIT: Remote repo was not bare, more info <a href="https://stackoverflow.com/questions/2816369/git-push-error-remote-rejected-master-master-branch-is-currently-checked">here</a></p>