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 specifiedtagnameas the branch name. Chapter 4 explains branches and their uses.-
-c Check whether the sandbox copies of the specified
fileshave 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
tagnamefrom 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-ror-Dare used.-
-F Move the
tagnamefrom the revision it currently refers to, to the revision specified in thetagcommand.-
-l Run
tagon files in the local directory only. (Do not recurse down subdirectories.)See also
-R.-
-r revision Run
tagon the specified revision or tag. Ifrevisionrefers to a branch, run the command on the latest (HEAD) revision of the branch.-
-R Run
tagon files in the local directory and all ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access