There are two basic commands for tags; one makes a tag with a given name, the other retrieves a named tag.
C-x v sname
C-x v rname
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.blog comments powered by Disqus