1CG-MV(1) CG-MV(1)
2
3
4
6 cg-mv - rename or move files in the repository
7
9 cg-mv [-f] FILE... DEST
10
11
13 Takes either two filenames and removes a file from the first one to the
14 second one, or a list of filenames and a dirname and moves all the
15 files to the directory. The changes will be executed in your working
16 tree immediately, but recorded to the repository only at the time of
17 the next commit.
18
19 Note that so far, GIT/Cogito does not track file renames/moves per se.
20 Therefore, doing cg-mv(1) is currently the same as doing cg-rm(1),
21 cg-add(1) from the Cogito perspective, and no special information is
22 recorded that the file moved around. When any rename tracking gets
23 involved currently, it is purely heuristical method executed at the
24 time of examination.
25
26
28 -f Remove the target file if it already exists.
29
30 -h, --help
31 Print usage summary.
32
33 --long-help
34 Print user manual. The same as found in cg-mv(1).
35
37 Copyright © Petr Baudis, 2005
38
39
41 cg-mv is part of cogito(7), a toolkit for managing git(7) trees.
42
43
44
45
46 12/11/2006 CG-MV(1)