SYNOPSIS

cg-mv [-f] FILE… DEST

DESCRIPTION

Takes either two filenames and removes a file from the first one to the second one, or a list of filenames and a dirname and moves all the files to the directory. The changes will be executed in your working tree immediately, but recorded to the repository only at the time of the next commit.

Note that so far, GIT/Cogito does not track file renames/moves per se. Therefore, doing cg-mv(1) is currently the same as doing cg-rm(1), cg-add(1) from the Cogito perspective, and no special information is recorded that the file moved around. When any rename tracking gets involved currently, it is purely heuristical method executed at the time of examination.

OPTIONS

-f

Remove the target file if it already exists.

-h, --help

Print usage summary.

--long-help

Print user manual. The same as found in cg-mv(1).

--version

Print Cogito version.

COPYRIGHT

Copyright © Petr Baudis, 2005

SEE ALSO

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