title: Gerrit code review push to empty repo doesn't work
body: <p>I installed and configured my own Gerrit server. I created a repository using the web gui for Gerrit. I am able to clone this empty repository succesfully using the "git" command, so the configuration seems to be fine. Next, I:</p>
  
  <ol>
  <li><p>configured my access: <code>git config --global user.email ...</code>, <code>git config --global user.name ...</code>,</p></li>
  <li><p>added remote: <code>git add remote origin myUser@myGitHost:29418/project.git</code>,</p></li>
  <li><p>created and commited file: <code>git add file</code>, git <code>commit -m "first commit"</code>.</p></li>
  </ol>
  
  <p>So far so good.</p>
  
  <p>But, when I try to push it to my repo, I get output:</p>
  
  <pre><code>myUser@myGitHost:~/project$ git push origin master
  Counting objects: 7, done.
  Delta compression using up to 2 threads.
  Compressing objects: 100% (3/3), done.
  Writing objects: 100% (6/6), 525 bytes, done.
  Total 6 (delta 0), reused 0 (delta 0)
  remote: Processing changes: refs: 1, done
  To ssh://myUser@myGitHost:29418/project.git
   ! [remote rejected] master -&gt; master (can not update the reference as a fast forward)
  error: failed to push some refs to 'ssh://myUser@myGitHost:29418/project.git'
  </code></pre>
  
  <p>I tried to look for solution. The "<code>git pull origin master</code>" does not work. Pushing with <code>-f</code> option isnt working too.</p>
  
  <p>Can anyone help me?</p>
  
  <p>EDIT: The output of push -f:</p>
  
  <pre><code>myUser@myGitHost:~/project$ git push -f origin master
  Counting objects: 7, done.
  Delta compression using up to 2 threads.
  Compressing objects: 100% (3/3), done.
  Writing objects: 100% (6/6), 525 bytes, done.
  Total 6 (delta 0), reused 0 (delta 0)
  remote: Processing changes: refs: 1, done
  To ssh://myUser@myGitHost:29418/project.git
   ! [remote rejected] master -&gt; master (can not update the reference as a fast forward)
  error: failed to push some refs to 'ssh://myUser@myGitHost:29418/project.git'
  </code></pre>
  
  <p>What I mean by  The "git pull origin master" is that the most solution ppl mention is to do a pull before push, for example: <a href="http://rip747.wordpress.com/2009/04/20/git-push-rejected-non-fast-forward/">http://rip747.wordpress.com/2009/04/20/git-push-rejected-non-fast-forward/</a>. This pull outputs:</p>
  
  <pre><code>myUser@myGitHost:~/project$ git pull origin master
  From ssh://myGitHost:29418/project
   * branch            master     -&gt; FETCH_HEAD
  Already up-to-date.
  </code></pre>
  
  <p>But when I do a push, the output is still the same:</p>
  
  <blockquote>
    <p>can not update the reference as a fast forward.</p>
  </blockquote>