title: "git checkout --" . vs git checkout
body: <p>I always used <code>git checkout -- .</code> to clear my working directory. I thought I read somewhere that the <code>--</code> was required to avoid git thinking you are passing parameters (or something)</p>
  
  <p>Now a colleague told me I could drop the <code>--</code>, and indeed, a quick test did exactly the same.</p>
  
  <p>Is there are any difference between those two commands?</p>
  
  <p>PS: Asking here because <code>git checkout -- .</code> vs <code>git checkout .</code> is kind of hard to google...</p>