title: What is the difference between "git reset HEAD" and "git reset HEAD ."
body: <p>Is this a shorthand like for example how <code>git add -A</code> is for doing both <code>git add .</code> &amp; <code>git add -u</code></p>
  <p>See this question for context <a href="https://stackoverflow.com/a/22207257/7680918#">https://stackoverflow.com/a/22207257/7680918#</a></p>
  <blockquote>
  <p>As it turns out, Git is smart enough not to drop a stash if it doesn't
  apply cleanly. I was able to get to the desired state with the
  following steps:</p>
  <ol>
  <li>To unstage the merge conflicts: <code>git reset HEAD .</code> (note the trailing dot)</li>
  <li>To save the conflicted merge (just in case): <code>git stash</code></li>
  <li>To return to master: <code>git checkout master</code></li>
  <li>To pull latest changes: <code>git fetch upstream; git merge upstream/master</code></li>
  <li>To correct my new branch: <code>git checkout new-branch; git rebase master</code></li>
  <li>To apply the correct stashed changes (now 2nd on the stack): <code>git stash apply stash@{1}</code></li>
  </ol>
  </blockquote>