vc-ignore
vc-ignore is an interactive compiled Lisp function in `vc.el
'.
It is bound to C-x v G, <menu-bar> <tools> <vc> <vc-ignore>.
(vc-ignore FILE &optional DIRECTORY REMOVE
)
Ignore FILE under the VCS of DIRECTORY.
Normally, FILE is a wildcard specification that matches the files
to be ignored. When REMOVE is non-nil, remove FILE from the list
of ignored files.
DIRECTORY defaults to `default-directory' and is used to
determine the responsible VC backend.
When called interactively, prompt for a FILE to ignore, unless a
prefix argument is given, in which case prompt for a file FILE to
remove from the list of ignored files.