Name
tag — Synonyms: ta
, freeze
Synopsis
cvs [cvs-options
] tag [-bcdfFlR] [-Ddate
|-rrevision
]tagname
[files
...]
Marks a revision of a single file with a meaningful name or marks a set of revisions of multiple files so that they can all be retrieved easily as a group.
See also rtag
.
Command options
-
-b
Create a branch off the specified
revision
, using the specifiedtagname
as the branch name. Chapter 4 explains branches and their uses.-
-c
Check whether the sandbox copies of the specified
files
have been modified since they were last synchronized with the repository. If they have been modified, do not tag them and display an error. If they are unmodified, tag them with the specifiedtagname
. This option is useful when tagging the current sandbox revisions.-
-d
Delete the specified
tagname
from a file.-
-D date
Tag the latest revision of each specified file that is as old as or older than the date or time specified by date.
-
-f
Use the latest (
HEAD
) revision on the current branch or trunk if no revision matches the date, time, tag, or revision number. This applies only if-r
or-D
are used.-
-F
Move the
tagname
from the revision it currently refers to, to the revision specified in thetag
command.-
-l
Run
tag
on files in the local directory only. (Do not recurse down subdirectories.)See also
-R
.-
-r revision
Run
tag
on the specified revision or tag. Ifrevision
refers to a branch, run the command on the latest (HEAD
) revision of the branch.-
-R
Run
tag
on files in the local directory and all ...
Get Essential CVS now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.