From: Bo Yang Date: Sun, 04 Apr 2010 03:26:15 GMT Subject: Re: Problem with add folder to a subdirectory Message-ID: In-Reply-To: <28125580.post@talk.nabble.com> Hi Aris, On Sat, Apr 3, 2010 at 4:26 PM, Aris Bezas wrote: > > Hi, > I am new to git and i have a problem. I clone repo from a collaborator and i > want to add some folder to a subdirectory. > When i add a folder to the root dir ($ git add TestFolder) i have no problem > but when i try to put it in a different subdirectory like ($ git add > examples/TestFolder) then with the command ($ git status) i tsake no result > (nothing to commit (working directory clean)). Are you sure in the root directory, you can add an empty directory to the index? I don't think so. See: https://git.wiki.kernel.org/index.php/GitFaq#Can_I_add_empty_directories.3F Regards! Bo