From: Robert Pluim Date: Fri, 12 Mar 2021 10:34:38 +0000 (+0100) Subject: Document how to create a branch for Git/Mercurial X-Git-Tag: emacs-28.0.90~3304 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=14b54cea1756f4d66c7376c55cf4aa88e8c3c0c3;p=emacs.git Document how to create a branch for Git/Mercurial * doc/emacs/maintaining.texi (Creating Branches): Add instructions for git/Mercurial. --- diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi index bc276c49046..27504188717 100644 --- a/doc/emacs/maintaining.texi +++ b/doc/emacs/maintaining.texi @@ -1611,6 +1611,10 @@ branch ID for a branch starting at the current revision. For example, if the current revision is 2.5, the branch ID should be 2.5.1, 2.5.2, and so on, depending on the number of existing branches at that point. + This procedure will not work for distributed version control systems +like git or Mercurial. For those systems you should use the prefix +argument to @code{vc-create-tag} (@kbd{C-u C-x v s}) instead. + To create a new branch at an older revision (one that is no longer the head of a branch), first select that revision (@pxref{Switching Branches}). Your procedure will then differ depending on whether you