From: Ramkumar Ramachandra Date: Thu, 05 Jan 2012 11:07:16 GMT Subject: Re: checkout on an empty directory fails Message-ID: In-Reply-To: <4F0576D9.4030207@gmx.de> Hi René, René Doß wrote: > I have a clean derectory ang the git database. Now I want check out the > master. > [...] > > red@linux-nrd1:~/iso/a> ls -a > .  ..  .git > red@linux-nrd1:~/iso/a> git checkout master > D       SP601_RevC_annotated_master_ucf_8-28-09.ucf > [...] In such situations, "git status" usually has something helpful to say. You're already on the "master" branch, and you can reset your worktree with `git reset --hard` (caution: please read the manpage). -- Ram