cg-mv

Langue: en

Version: 02/24/2009 (fedora - 04/07/09)

Section: 1 (Commandes utilisateur)

NAME

cg-mv - rename or move files in the repository

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 gitm[blue]1m[][1] is currently the same as doing gitm[blue]1m[][2], gitm[blue]1m[][3] 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 gitm[blue]1m[][1].

Copyright © Petr Baudis, 2005

SEE ALSO

cg-mv is part of gitm[blue]7m[][4], a toolkit for managing gitm[blue]7m[][5] trees.

NOTES

1.
1
[set $man.base.url.for.relative.links]/cg-mv
2.
1
[set $man.base.url.for.relative.links]/cg-rm
3.
1
[set $man.base.url.for.relative.links]/cg-add
4.
7
[set $man.base.url.for.relative.links]/cogito
5.
7
[set $man.base.url.for.relative.links]/git