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

[PATCH 2/2] document new flags

From
JEJeff Epler <unpythonic.net@unpythonic.net>
Date
May 30, 2009, 01:39 UTC
Message-ID
<1243647555-25098-2-git-send-email-user@lamp>
In-Reply-To
<1243647555-25098-1-git-send-email-user@lamp>
From: Jeff Epler <jepler@unpythonic.net>
Signed-off-by: Jeff Epler <jepler@unpythonic.net>
---
 Documentation/git-cherry.txt |   14 +++++++++++++-
 1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-cherry.txt b/Documentation/git-cherry.txt
index 7deefda..100ed69 100644
--- a/Documentation/git-cherry.txt
+++ b/Documentation/git-cherry.txt
@@ -7,7 +7,7 @@ git-cherry - Find commits not merged upstream
 
 SYNOPSIS
 --------
-'git cherry' [-v] [<upstream> [<head> [<limit>]]]
+'git cherry' [-v] [-a|-#] [-r] [-d|-D] [<upstream> [<head> [<limit>]]]
 
 DESCRIPTION
 -----------
@@ -49,6 +49,18 @@ OPTIONS
 -v::
 	Verbose.
 
+-a|-#::
+	Abbreviate commit ids to the given number of characters, or 7 for -a
+
+-r::
+	Swap <upstream> and <head>
+
+-d::
+	Only show commits that don't exist in upstream ("+" lines)
+
+-D::
+	Only show commits that do exist in upstream ("-" lines)
+
 <upstream>::
 	Upstream branch to compare against.
 	Defaults to the first tracked remote branch, if available.
-- 
1.5.4.3
Previous: Jeff EplerNext: Jakub Narebski
Message 2 of 4 in “add new output-tuning flags to 'git cherry'”
  1. 1/2 add new output-tuning flags to 'git cherry'Jeff Epler, May 30, 2009
  2. 2/2 document new flagsJeff Epler, May 30, 2009
  3. Jakub NarebskiMay 30, 2009
  4. Michael J GruberMay 30, 2009

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.