.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
.\" Instead of manually editing it, you probably should edit the DocBook XML
.\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
-.TH "GIT\-DIFF\-FILES" "1" "10/03/2006" "" ""
+.TH "GIT\-DIFF\-FILES" "1" "10/19/2006" "" ""
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
\-\-stat[=width[,name\-width]]
Generate a diffstat. You can override the default output width for 80\-column terminal by "\-\-stat=width". The width of the filename part can be controlled by giving another width to it separated by a comma.
.TP
+\-\-numstat
+Similar to \-\-stat, but shows number of added and deleted lines in decimal notation and pathname without abbreviation, to make it more machine friendly.
+.TP
\-\-summary
Output a condensed summary of extended header information such as creations, renames and mode changes.
.TP
.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
.\" Instead of manually editing it, you probably should edit the DocBook XML
.\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
-.TH "GIT\-DIFF\-INDEX" "1" "10/03/2006" "" ""
+.TH "GIT\-DIFF\-INDEX" "1" "10/19/2006" "" ""
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
\-\-stat[=width[,name\-width]]
Generate a diffstat. You can override the default output width for 80\-column terminal by "\-\-stat=width". The width of the filename part can be controlled by giving another width to it separated by a comma.
.TP
+\-\-numstat
+Similar to \-\-stat, but shows number of added and deleted lines in decimal notation and pathname without abbreviation, to make it more machine friendly.
+.TP
\-\-summary
Output a condensed summary of extended header information such as creations, renames and mode changes.
.TP
.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
.\" Instead of manually editing it, you probably should edit the DocBook XML
.\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
-.TH "GIT\-DIFF\-STAGES" "1" "10/03/2006" "" ""
+.TH "GIT\-DIFF\-STAGES" "1" "10/19/2006" "" ""
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
\-\-stat[=width[,name\-width]]
Generate a diffstat. You can override the default output width for 80\-column terminal by "\-\-stat=width". The width of the filename part can be controlled by giving another width to it separated by a comma.
.TP
+\-\-numstat
+Similar to \-\-stat, but shows number of added and deleted lines in decimal notation and pathname without abbreviation, to make it more machine friendly.
+.TP
\-\-summary
Output a condensed summary of extended header information such as creations, renames and mode changes.
.TP
.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
.\" Instead of manually editing it, you probably should edit the DocBook XML
.\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
-.TH "GIT\-DIFF\-TREE" "1" "10/03/2006" "" ""
+.TH "GIT\-DIFF\-TREE" "1" "10/19/2006" "" ""
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
\-\-stat[=width[,name\-width]]
Generate a diffstat. You can override the default output width for 80\-column terminal by "\-\-stat=width". The width of the filename part can be controlled by giving another width to it separated by a comma.
.TP
+\-\-numstat
+Similar to \-\-stat, but shows number of added and deleted lines in decimal notation and pathname without abbreviation, to make it more machine friendly.
+.TP
\-\-summary
Output a condensed summary of extended header information such as creations, renames and mode changes.
.TP
.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
.\" Instead of manually editing it, you probably should edit the DocBook XML
.\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
-.TH "GIT\-GREP" "1" "10/03/2006" "" ""
+.TH "GIT\-GREP" "1" "10/19/2006" "" ""
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
[\-v | \-\-invert\-match] [\-h|\-H] [\-\-full\-name]
[\-E | \-\-extended\-regexp] [\-G | \-\-basic\-regexp] [\-F | \-\-fixed\-strings]
[\-n] [\-l | \-\-files\-with\-matches] [\-L | \-\-files\-without\-match]
- [\-c | \-\-count]
+ [\-c | \-\-count] [\-\-all\-match]
[\-A <post\-context>] [\-B <pre\-context>] [\-C <context>]
[\-f <file>] [\-e] <pattern> [\-\-and|\-\-or|\-\-not|(|)|\-e <pattern>\&...]
[<tree>\&...]
\-e
has to be used for all patterns.
.TP
+\-\-all\-match
+When giving multiple pattern expressions combined with
+\-\-or, this flag is specified to limit the match to files that have lines to match all of them.
+.TP
<tree>\&...
Search blobs in the trees for specified patterns.
.TP
MAX_PATH
or
PATH_MAX.
+.TP
+git grep \-\-all\-match \-e NODE \-e Unexpected
+Looks for a line that has
+NODE
+or
+Unexpected
+in files that have lines that match both.
.SH "AUTHOR"
Originally written by Linus Torvalds <torvalds@osdl.org>, later revamped by Junio C Hamano.
.sp
.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
.\" Instead of manually editing it, you probably should edit the DocBook XML
.\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
-.TH "GIT\-REBASE" "1" "10/03/2006" "" ""
+.TH "GIT\-REBASE" "1" "10/19/2006" "" ""
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.SH "NAME"
git\-rebase \- Rebase local commits to a new head
.SH "SYNOPSIS"
-\fIgit\-rebase\fR [\-\-merge] [\-\-onto <newbase>] <upstream> [<branch>]
+\fIgit\-rebase\fR [\-v] [\-\-merge] [\-\-onto <newbase>] <upstream> [<branch>]
.sp
\fIgit\-rebase\fR \-\-continue | \-\-skip | \-\-abort
.sp
when merging a single head,
git\-merge\-octopus
otherwise). This implies \-\-merge.
+.TP
+\-v, \-\-verbose
+Display a diffstat of what changed upstream since the last rebase.
.SH "MERGE STRATEGIES"
.TP
resolve
.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
.\" Instead of manually editing it, you probably should edit the DocBook XML
.\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
-.TH "GIT\-REV\-PARSE" "1" "10/03/2006" "" ""
+.TH "GIT\-REV\-PARSE" "1" "10/19/2006" "" ""
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
<args>\&...
Flags and parameters to be parsed.
.SH "SPECIFYING REVISIONS"
-A revision parameter typically, but not necessarily, names a commit object. They use what is called an \fIextended SHA1\fR syntax.
+A revision parameter typically, but not necessarily, names a commit object. They use what is called an \fIextended SHA1\fR syntax. Here are various ways to spell object names. The ones listed near the end of this list are to name trees and blobs contained in a commit.
.sp
.TP 3
\(bu
The full SHA1 object name (40\-byte hexadecimal string), or a substring of such that is unique within the repository. E.g. dae86e1950b1277e545cee180551750029cfe735 and dae86e both name the same commit object if there are no other object in your repository whose object name starts with dae86e.
.TP
\(bu
+An output from
+git\-describe; i.e. a closest tag, followed by a dash, a
+\fIg\fR, and an abbreviated object name.
+.TP
+\(bu
A symbolic ref name. E.g.
\fImaster\fR
typically means the commit object referenced by $GIT_DIR/refs/heads/master. If you happen to have both heads/master and tags/master, you can explicitly say
\fI^\fR
followed by an empty brace pair (e.g.
v0.99.8^{}) means the object could be a tag, and dereference the tag recursively until a non\-tag object is found.
+.TP
+\(bu
+A suffix
+\fI:\fR
+followed by a path; this names the blob or tree at the given path in the tree\-ish object named by the part before the colon.
+.TP
+\(bu
+A colon, optionally followed by a stage number (0 to 3) and a colon, followed by a path; this names a blob object in the index at the given path. Missing stage number (and the colon that follows it) names an stage 0 entry.
Here is an illustration, by Jon Loeliger. Both node B and C are a commit parents of commit node A. Parent commits are ordered left\-to\-right.
.sp
.sp