threads / patch / 9059

patchFix git-branch documentation when using remote refs

Subject: [PATCH] Fix git-branch documentation when using remote refs

## tl;dr

One message between Jul 16, 2007 and Jul 16, 2007. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Francis Moreau· Jul 16, 2007, 11:38 UTC · lore
Signed-off-by: Francis Moreau <francis.moro@gmail.com>
---
 Documentation/git-branch.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Show changes to Documentation/git-branch.txt +2 −2
diff --git a/Documentation/git-branch.txt b/Documentation/git-branch.txt
index bb6b57d..bc6aa88 100644
--- a/Documentation/git-branch.txt
+++ b/Documentation/git-branch.txt
@@ -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"

← back to recent threads