* Problem with add folder to a subdirectory
@ 2010-04-03 8:26 Aris Bezas
2010-04-03 9:13 ` Ramkumar Ramachandra
2010-04-04 3:26 ` Bo Yang
0 siblings, 2 replies; 4+ messages in thread
From: Aris Bezas @ 2010-04-03 8:26 UTC (permalink / raw)
To: git
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)).
Thanks for your reply
Aris Bezas Sat, 03 April 2010, 11:26
--
View this message in context: http://old.nabble.com/Problem-with-add-folder-to-a-subdirectory-tp28125580p28125580.html
Sent from the git mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem with add folder to a subdirectory
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-04 3:26 ` Bo Yang
1 sibling, 1 reply; 4+ messages in thread
From: Ramkumar Ramachandra @ 2010-04-03 9:13 UTC (permalink / raw)
To: Aris Bezas; +Cc: git
On Sat, Apr 3, 2010 at 1:56 PM, Aris Bezas <igoumeninja@gmail.com> wrote:
> i tsake no result
> (nothing to commit (working directory clean)).
I suspect that you're trying to add an empty directory. Git tracks
content, not individual files and directories- so try adding some
content (read: a file), and then git-add'ing that.
-- Ram
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problem with add folder to a subdirectory
2010-04-03 8:26 Problem with add folder to a subdirectory Aris Bezas
2010-04-03 9:13 ` Ramkumar Ramachandra
@ 2010-04-04 3:26 ` Bo Yang
1 sibling, 0 replies; 4+ messages in thread
From: Bo Yang @ 2010-04-04 3:26 UTC (permalink / raw)
To: Aris Bezas; +Cc: git
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-04-04 3:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).