How to add new tree?

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

How to add new tree?

From: Alexey Nezhdanov <hidden>
Date: 2016-06-15 22:41:57

Hello.
Probably a lame question but I can figure out how to add new directory to repo 
neither with cogito nor with git.

a simple example:
=========
$mkdir newdir
$cg-add newdir
cg-add: newdir does not exist
$
==========
How can this be resolved?

-- 
Respectfully
Alexey Nezhdanov

Re: How to add new tree?

From: David Greaves <hidden>
Date: 2016-06-15 22:41:57

Alexey Nezhdanov wrote:
Hello.
Probably a lame question but I can figure out how to add new directory to repo 
neither with cogito nor with git.

a simple example:
=========
$mkdir newdir
$cg-add newdir
cg-add: newdir does not exist
$
==========
How can this be resolved?

 
git (and so cogito) manage content.
Directories have no content

Add a file within it
cg-add newdir/file

and it will create a tree as needed.

David

-- 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help