SYNOPSIS

cg-add [-N] FILE…

DESCRIPTION

Takes a list of file names at the command line, and schedules them for addition to the GIT repository at the next commit.

The command will fail if one of the given files does not exist.

Note that directories never have to be added to the repository and any attempt in doing so will cause the command to fail. The reason for this is that Cogito manages content and empty directories have no content. Instead, directories are added automatically when adding files inside them.

OPTIONS

-N

Only update the cache: do not copy the data into the object database. This is for special purposes when you might not actually _have_ any object database. This option is normally not interesting.

-h, --help

Print usage help.

COPYRIGHT

Copyright © Petr Baudis, 2005

SEE ALSO

cg-add command is part of cogito(7), a toolkit for managing git(1) trees.