Re: Problem with add folder to a subdirectory
- From
Bo Yang <struggleyb.nku@gmail.com>
- Date
- Apr 4, 2010, 03:26 UTC
- Message-ID
- <n2u41f08ee11004032026p9a0be36er7d2e017e294bbd35@mail.gmail.com>
- In-Reply-To
- <28125580.post@talk.nabble.com>
Hi Aris, On Sat, Apr 3, 2010 at 4:26 PM, Aris Bezas <igoumeninja@gmail.com> wrote:
Show 8 quoted lines
> > 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