Next: Revision Tag Caveats, Up: Revision Tags
There are two basic commands for tags; one makes a tag with a given name, the other retrieves a named tag.
C-x v s name <RET>vc-create-tag).
C-x v r name <RET>vc-retrieve-tag).
This command reports an error if any files are locked at or below the current directory, without changing anything; this is to avoid overwriting work in progress.
Tags are inexpensive, so you need not hesitate to create them whenever they are useful. Branches vary in cost depending on your VCS; in older ones they may be expensive.
You can give a tag or branch name as an argument to C-x v = or C-x v ~ (see Old Revisions). Thus, you can use it to compare a tagged version against the current files, or two tagged versions against each other.