Code

Fix git-branch documentation when using remote refs
authorFrancis Moreau <francis.moro@gmail.com>
Mon, 16 Jul 2007 11:38:47 +0000 (13:38 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Jul 2007 04:34:44 +0000 (21:34 -0700)
Signed-off-by: Francis Moreau <francis.moro@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-branch.txt

index bb6b57dc2d00e38fc1d0128fe02fc771a1f83086..bc6aa88417486cda92e8ea47f67bcfc24317b9d2 100644 (file)
@@ -130,8 +130,8 @@ Delete unneeded branch::
 ------------
 $ git clone git://git.kernel.org/.../git.git my.git
 $ cd my.git
-$ git branch -d -r todo html man   <1>
-$ git branch -D test               <2>
+$ git branch -d -r origin/todo origin/html origin/man   <1>
+$ git branch -D test                                    <2>
 ------------
 +
 <1> delete remote-tracking branches "todo", "html", "man"