title: Why my branch is ahead of origin/master after git review?
body: <p>After having my changes submited to gerrit and accepted by a reviewer, git status complains that I'm ahead of origin/master.</p>
  
  <p>Full story:</p>
  
  <p>I've cloned my repo from <code>ssh://luis@somewhere:10022/project.git</code></p>
  
  <p>Because <code>git review -s</code> was complaining about a gerrit remote not existing, I did:</p>
  
  <pre><code>git remote add gerrit ssh://luis@somewhere:10022/project.git
  </code></pre>
  
  <p>Note that by now, origin and gerrit both point to the same place (I don't know if that's a problem).</p>
  
  <p>I decided not to use a new branch and just work on master.</p>
  
  <p>After my changes were done and staged I did:</p>
  
  <pre><code>git commit
  git review
  </code></pre>
  
  <p>At this point git status says that I'm ahead of origin/master by 1 commit, which is odd because I thought that git review had an implicit push.</p>
  
  <p>The changes were reviewed and accepted in the gerrit web-interface and have been merged into origin/master (everyone else can see them), but my local repo still says I'm ahead.</p>
  
  <p>I tried pulling from origin but that triggered a merge, and now I'm 2 commits ahead.</p>
  
  <p>Is this normal? Should I simply discard my extra local changes? Push them to origin?</p>
  
  <p>Thanks,</p>
  
  <p>Luis</p>