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

[PATCH 3/3] Update documentation for git-branch

From
LHLars Hjemli <hjemli@gmail.com>
Date
Oct 21, 2006, 22:33 UTC
Message-ID
<1161470006965-git-send-email-hjemli@gmail.com>
In-Reply-To
<1161470004894-git-send-email-hjemli@gmail.com>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
---
 Documentation/git-branch.txt |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-branch.txt b/Documentation/git-branch.txt
index d43ef1d..dc6676e 100644
--- a/Documentation/git-branch.txt
+++ b/Documentation/git-branch.txt
@@ -8,7 +8,7 @@ git-branch - List, create, or delete bra
 SYNOPSIS
 --------
 [verse]
-'git-branch' [-r]
+'git-branch' [-r] [-v [-w <width>]]
 'git-branch' [-l] [-f] <branchname> [<start-point>]
 'git-branch' (-d | -D) <branchname>...
 
@@ -47,6 +47,12 @@ OPTIONS
 -r::
 	List only the "remote" branches.
 
+-v::
+	Show sha1 and first line of commit message for each branch
+
+-w <width>::
+	Set columnwidth for branchname (default is 20)
+
 <branchname>::
 	The name of the branch to create or delete.
 	The new branch name must pass all checks defined by
-- 
1.4.3.1
Previous: Lars Hjemli
Message 4 of 4 in “Extend git-branch list output”
  1. 0/3 Extend git-branch list outputLars Hjemli, Oct 21, 2006
  2. 1/3 Make git-branch honor -v when showing remote branchesLars Hjemli, Oct 21, 2006
  3. 2/3 git-branch: Add -w option to adjust branchname column widthLars Hjemli, Oct 21, 2006
  4. 3/3 Update documentation for git-branchLars Hjemli, Oct 21, 2006

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.