|
From: | Dmitry Gutov |
Subject: | Re: RCS: (vc-next-action 1) only New Backend |
Date: | Mon, 21 Sep 2015 19:48:45 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Thunderbird/41.0 |
On 09/21/2015 07:12 PM, Eli Zaretskii wrote:
This option in RCS and CVS allows you to put a label on the revision, giving it the name of your liking. The equivalent in Git is "git tag", I think. So this sequence of commands
IIUC, the point of doing this (in RCS or CVS) is to adjust the revision names of all subsequent commits as well. That's much closer to switching the branch.
A tag, in Git, just adds an extra (probably better-readable) name to a particular commit, and that's it.
git commit ... git tag REVISION git push
Note: you need to add '--tags' to 'git push' to make it push tags.
[Prev in Thread] | Current Thread | [Next in Thread] |