threads / discuss / 583

How to add new tree?

Subject: How to add new tree?

## tl;dr

2 messages between May 12, 2005 and May 12, 2005.

replies: 1people: 2as markdown or json

Alexey Nezhdanov· May 12, 2005, 11:44 UTC · lore

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
David Greaves· May 12, 2005, 12:03 UTC · re: Alexey Nezhdanov · lore

Re: How to add new tree?

Alexey Nezhdanov wrote:
Show 15 quoted lines
>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

← back to recent threads