git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bo Yang <struggleyb.nku@gmail.com>
To: Aris Bezas <igoumeninja@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Problem with add folder to a subdirectory
Date: Sun, 4 Apr 2010 11:26:15 +0800	[thread overview]
Message-ID: <n2u41f08ee11004032026p9a0be36er7d2e017e294bbd35@mail.gmail.com> (raw)
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:
>
> 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

      parent reply	other threads:[~2010-04-04  3:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-03  8:26 Problem with add folder to a subdirectory Aris Bezas
2010-04-03  9:13 ` Ramkumar Ramachandra
     [not found]   ` <990EEB31-9AAB-4CF5-AC05-11BCA45C6447@gmail.com>
2010-04-03 18:25     ` Ramkumar Ramachandra
2010-04-04  3:26 ` Bo Yang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=n2u41f08ee11004032026p9a0be36er7d2e017e294bbd35@mail.gmail.com \
    --to=struggleyb.nku@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=igoumeninja@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).