1CG-RM(1)                                                              CG-RM(1)
2
3
4

NAME

6       cg-rm - remove files from the repository
7

SYNOPSIS

9       cg-rm [-a] [-f] [-n] [-r] FILE...
10
11

DESCRIPTION

13       Takes a list of file names at the command line, and schedules them for
14       removal from the GIT repository at the next commit. Those files are
15       denoted by D in the cg-status(1) list. You can remove cg-add(1)ed files
16       to undo the addition; you can undo removals in an analogous way using
17       cg-add(1) and restore files deleted from the working copy using
18       cg-restore(1).
19
20

OPTIONS

22       -a     Record removal of all files which have been deleted from the
23              working copy. Useful when there were some random files
24              added/removed (e.g. by some third-party application) and you
25              want to get the repository in sync: just use cg-rm -a && cg-add
26              -a.
27
28       -f     Also delete the files from the tree physically.
29
30       -n     Do not delete the files from the tree physically, if they are
31              still there. So it effectively just makes Cogito to stop caring
32              about the file. This is the default.
33
34       -r     If you pass cg-rm this flag and any directory names, it will try
35              to remove files in those directories recursively.
36
37       -h, --help
38              Print usage summary.
39
40       --long-help
41              Print user manual. The same as found in cg-rm(1).
42
44       Copyright © Petr Baudis, 2005
45
46

SEE ALSO

48       cg-rm is part of cogito(7), a toolkit for managing git(7) trees.
49
50
51
52
53                                  12/11/2006                          CG-RM(1)
Impressum