git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
FMFrancis Moreau <francis.moro@gmail.com>
Date
Jul 16, 2007, 11:38 UTC
Message-ID
<38b2ab8a0707160438v4365da74m20eca9334fd1d927@mail.gmail.com>
Signed-off-by: Francis Moreau <francis.moro@gmail.com>
---
 Documentation/git-branch.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
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"
Message 1 of 1 in “Fix git-branch documentation when using remote refs”
  1. Fix git-branch documentation when using remote refsFrancis Moreau, Jul 16, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.