cg-add(1)
NAME
cg-add - add new files to the repository
SYNOPSIS
cg-add [-a] [-N] [-r] FILE....sp
DESCRIPTION
ArrayThose files are denoted by A in the cg-status(1) list. You can
add cg-rm(1)oved files to undo the removal (use cg-restore(1) if
the file is already deleted from the working copy as well); you
can undo additions in an analogous way using cg-rm(1)..sp The
command will fail if one of the given files does not exist..sp
Note that directories never have to be added to the repository,
and are not tracked on their own. That means, you cannot currently add an empty directory to Cogito. The reason for this is that
Cogito manages content and empty directories have no content. Directories are added automatically when adding files inside them,
or you can add all files in a directory using cg-add -r..sp
OPTIONS
- Arrayregard to your ignore rules - see cg-status(1) for a more detailed description of those). See also above for more notes about
cg-add vs. directories.
-h, --help - Print usage summary.
- --long-help
- Print user manual. The same as found in cg-add(1).
COPYRIGHT
Copyright © Petr Baudis, 2005.sp
SEE ALSO
- Array12/05/2006