title: Git merge without auto commit
body: <p>Is it possible to do a <code>git merge</code>, but without a commit?</p>
  
  <p>"man git merge" says this:</p>
  
  <pre><code>With --no-commit perform the merge but pretend the merge failed and do not autocommit,
  to give the user a chance to inspect and further tweak the merge result before
  committing.
  </code></pre>
  
  <p>But when I try to use <code>git merge</code> with the <code>--no-commit</code> it still auto-commits.  Here's what I did:</p>
  
  <pre><code>$&gt; ~/git/testrepo$ git checkout master
  Switched to branch 'master'
  
  $&gt; ~/git/testrepo$ git branch
  * master
    v1.0
  
  $&gt; ~/git/testrepo$ git merge --no-commit v1.0
  Updating c0c9fd2..18fa02c
  Fast-forward
   file1 |    1 +
   1 files changed, 1 insertions(+), 0 deletions(-)
  
  $&gt; ~/git/testrepo$ git status
  # On branch master
  # Your branch is ahead of 'origin/master' by 1 commit.
  #
  nothing to commit (working directory clean)
  </code></pre>
  
  <p>A subsequent <code>git log</code> reveals all the commits from the v1.0 branch merged into master.</p>