cg-add(1) Manual Page

NAME

cg - add - add files to the git repository

SYNOPSIS

cg-add 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 manage content and empty directories have no content. Instead, directories are added automatically when adding files inside them.

OPTIONS

-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(7) trees.