From: Avery Pennarun Date: Fri, 22 May 2009 05:02:55 GMT Subject: Re: can anybody explain the following to a git noob? Message-ID: <32541b130905212202q9aed54cn892171b7e654812f@mail.gmail.com> In-Reply-To: <855e4dcf0905212046o3e1d6ec6l487829a0a411dcaf@mail.gmail.com> On Thu, May 21, 2009 at 11:46 PM, Tim Uckun wrote: > A transcript... > > git init > git add . > /dev/nul > git commit -m 'initial import' ...okay... > *********Try to rename a directory  WTF?: Git thinks any directory with a > .git folder is empty and refuses to rename the directory. Well, why do other folders contain .git directories? Are they *separate* git repositories? If so, git doesn't know what to do with them and leaves them alone. (Well, in fact it treats them as submodules.) All your other weird problems seem to come from this, as far as I can tell. If not, it would be helpful if you could give *complete* reproduction steps for your problem. Have fun, Avery