]> git.eshelyaron.com Git - emacs.git/commitdiff
Document how to create a branch for Git/Mercurial
authorRobert Pluim <rpluim@gmail.com>
Fri, 12 Mar 2021 10:34:38 +0000 (11:34 +0100)
committerRobert Pluim <rpluim@gmail.com>
Fri, 12 Mar 2021 10:35:09 +0000 (11:35 +0100)
* doc/emacs/maintaining.texi (Creating Branches): Add instructions
for git/Mercurial.

doc/emacs/maintaining.texi

index bc276c490463a23c604d9eaa55e7df151a0aadd0..27504188717263af0b337d442d6df24fa74b915b 100644 (file)
@@ -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