0

I'm learning git and in the git-checkout documentation points that if you delete a file (from the explorer not from git directly) then you can recover by calling git checkout -- file, but I tried without the double dash as git checkout file and the result is exactly the same apparentrly... in this context, what it means --?

PlainOldProgrammer
  • 2,725
  • 5
  • 22
  • 30
  • http://unix.stackexchange.com/questions/11376/what-does-double-dash-mean-also-known-as-bare-double-dash – Tim Feb 23 '16 at 19:36
  • 1
    The answer is the same as in this one about `git reset`, as well: http://stackoverflow.com/a/33849726/1256452 – torek Feb 23 '16 at 19:37

0 Answers0