From: Angelo Borsotti Date: Tue, 04 Sep 2012 13:24:28 GMT Subject: Re: checkout extra files Message-ID: In-Reply-To: Hi Duy, the semantics of "git checkout -- '*'" is quite clear because there is no expansion done by the shell. The wildcard is passed to git checkout, that interprets is properly. That of "git checkout -- *" is the problem when the directory is empty. Note that this happens with the shell that is shipped with git (in the windows distro). A note in the documentation could help the user to understand this. -Angelo