cg-rm - remove files from the repository
cg-rm [-a] [-f] [-n] [-r] FILE…
Takes a list of file names at the command line, and schedules them for removal from the GIT repository at the next commit. Those files are denoted by D in the cg-status(1) list. You can remove cg-add(1)ed files to undo the addition; you can undo removals in an analogous way using cg-add(1) and restore files deleted from the working copy using cg-restore(1).
Record removal of all files which have been deleted from the working copy. Useful when there were some random files added/removed (e.g. by some third-party application) and you want to get the repository in sync: just use cg-rm -a && cg-add -a.
Also delete the files from the tree physically.
Do not delete the files from the tree physically, if they are still there. So it effectively just makes Cogito to stop caring about the file. This is the default.
If you pass cg-rm this flag and any directory names, it will try to remove files in those directories recursively.
Print usage summary.
Print user manual. The same as found in cg-rm(1).
Print Cogito version.
Copyright © Petr Baudis, 2005