Docs: Use "-l::\n--long\n" format in OPTIONS sections
The OPTIONS section of a documentation file contains a list of the options a git command accepts. Currently there are several variants to describe the case that different options (almost) do the same in the OPTIONS section. Some are: -f, --foo:: -f|--foo:: -f | --foo:: But AsciiDoc has the special form: -f:: --foo:: This patch applies this form to the documentation of the whole git suite, and removes useless em-dash prevention, so \--foo becomes --foo. Signed-off-by: Stephan Beyer <s-beyer@gmx.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
bc47c29ec1
commit
3240240ff4
@ -41,7 +41,8 @@ of lines before or after the line given by <start>.
|
|||||||
-S <revs-file>::
|
-S <revs-file>::
|
||||||
Use revs from revs-file instead of calling linkgit:git-rev-list[1].
|
Use revs from revs-file instead of calling linkgit:git-rev-list[1].
|
||||||
|
|
||||||
-p, --porcelain::
|
-p::
|
||||||
|
--porcelain::
|
||||||
Show in a format designed for machine consumption.
|
Show in a format designed for machine consumption.
|
||||||
|
|
||||||
--incremental::
|
--incremental::
|
||||||
@ -83,5 +84,6 @@ alphanumeric characters that git must detect as moving
|
|||||||
between files for it to associate those lines with the parent
|
between files for it to associate those lines with the parent
|
||||||
commit.
|
commit.
|
||||||
|
|
||||||
-h, --help::
|
-h::
|
||||||
|
--help::
|
||||||
Show help message.
|
Show help message.
|
||||||
|
@ -1,22 +1,26 @@
|
|||||||
-q, \--quiet::
|
-q::
|
||||||
|
--quiet::
|
||||||
Pass --quiet to git-fetch-pack and silence any other internally
|
Pass --quiet to git-fetch-pack and silence any other internally
|
||||||
used programs.
|
used programs.
|
||||||
|
|
||||||
-v, \--verbose::
|
-v::
|
||||||
|
--verbose::
|
||||||
Be verbose.
|
Be verbose.
|
||||||
|
|
||||||
-a, \--append::
|
-a::
|
||||||
|
--append::
|
||||||
Append ref names and object names of fetched refs to the
|
Append ref names and object names of fetched refs to the
|
||||||
existing contents of `.git/FETCH_HEAD`. Without this
|
existing contents of `.git/FETCH_HEAD`. Without this
|
||||||
option old data in `.git/FETCH_HEAD` will be overwritten.
|
option old data in `.git/FETCH_HEAD` will be overwritten.
|
||||||
|
|
||||||
\--upload-pack <upload-pack>::
|
--upload-pack <upload-pack>::
|
||||||
When given, and the repository to fetch from is handled
|
When given, and the repository to fetch from is handled
|
||||||
by 'git-fetch-pack', '--exec=<upload-pack>' is passed to
|
by 'git-fetch-pack', '--exec=<upload-pack>' is passed to
|
||||||
the command to specify non-default path for the command
|
the command to specify non-default path for the command
|
||||||
run on the other end.
|
run on the other end.
|
||||||
|
|
||||||
-f, \--force::
|
-f::
|
||||||
|
--force::
|
||||||
When `git-fetch` is used with `<rbranch>:<lbranch>`
|
When `git-fetch` is used with `<rbranch>:<lbranch>`
|
||||||
refspec, it refuses to update the local branch
|
refspec, it refuses to update the local branch
|
||||||
`<lbranch>` unless the remote branch `<rbranch>` it
|
`<lbranch>` unless the remote branch `<rbranch>` it
|
||||||
@ -24,16 +28,18 @@
|
|||||||
overrides that check.
|
overrides that check.
|
||||||
|
|
||||||
ifdef::git-pull[]
|
ifdef::git-pull[]
|
||||||
\--no-tags::
|
--no-tags::
|
||||||
endif::git-pull[]
|
endif::git-pull[]
|
||||||
ifndef::git-pull[]
|
ifndef::git-pull[]
|
||||||
-n, \--no-tags::
|
-n::
|
||||||
|
--no-tags::
|
||||||
endif::git-pull[]
|
endif::git-pull[]
|
||||||
By default, tags that point at objects that are downloaded
|
By default, tags that point at objects that are downloaded
|
||||||
from the remote repository are fetched and stored locally.
|
from the remote repository are fetched and stored locally.
|
||||||
This option disables this automatic tag following.
|
This option disables this automatic tag following.
|
||||||
|
|
||||||
-t, \--tags::
|
-t::
|
||||||
|
--tags::
|
||||||
Most of the tags are fetched automatically as branch
|
Most of the tags are fetched automatically as branch
|
||||||
heads are downloaded, but tags that do not point at
|
heads are downloaded, but tags that do not point at
|
||||||
objects reachable from the branch heads that are being
|
objects reachable from the branch heads that are being
|
||||||
@ -41,10 +47,12 @@ endif::git-pull[]
|
|||||||
flag lets all tags and their associated objects be
|
flag lets all tags and their associated objects be
|
||||||
downloaded.
|
downloaded.
|
||||||
|
|
||||||
-k, \--keep::
|
-k::
|
||||||
|
--keep::
|
||||||
Keep downloaded pack.
|
Keep downloaded pack.
|
||||||
|
|
||||||
-u, \--update-head-ok::
|
-u::
|
||||||
|
--update-head-ok::
|
||||||
By default `git-fetch` refuses to update the head which
|
By default `git-fetch` refuses to update the head which
|
||||||
corresponds to the current branch. This flag disables the
|
corresponds to the current branch. This flag disables the
|
||||||
check. This is purely for the internal use for `git-pull`
|
check. This is purely for the internal use for `git-pull`
|
||||||
@ -52,7 +60,7 @@ endif::git-pull[]
|
|||||||
implementing your own Porcelain you are not supposed to
|
implementing your own Porcelain you are not supposed to
|
||||||
use it.
|
use it.
|
||||||
|
|
||||||
\--depth=<depth>::
|
--depth=<depth>::
|
||||||
Deepen the history of a 'shallow' repository created by
|
Deepen the history of a 'shallow' repository created by
|
||||||
`git clone` with `--depth=<depth>` option (see linkgit:git-clone[1])
|
`git clone` with `--depth=<depth>` option (see linkgit:git-clone[1])
|
||||||
by the specified number of commits.
|
by the specified number of commits.
|
||||||
|
@ -50,22 +50,26 @@ OPTIONS
|
|||||||
and `dir/file2`) can be given to add all files in the
|
and `dir/file2`) can be given to add all files in the
|
||||||
directory, recursively.
|
directory, recursively.
|
||||||
|
|
||||||
-n, \--dry-run::
|
-n::
|
||||||
|
--dry-run::
|
||||||
Don't actually add the file(s), just show if they exist.
|
Don't actually add the file(s), just show if they exist.
|
||||||
|
|
||||||
-v, \--verbose::
|
-v::
|
||||||
|
--verbose::
|
||||||
Be verbose.
|
Be verbose.
|
||||||
|
|
||||||
-f::
|
-f::
|
||||||
Allow adding otherwise ignored files.
|
Allow adding otherwise ignored files.
|
||||||
|
|
||||||
-i, \--interactive::
|
-i::
|
||||||
|
--interactive::
|
||||||
Add modified contents in the working tree interactively to
|
Add modified contents in the working tree interactively to
|
||||||
the index. Optional path arguments may be supplied to limit
|
the index. Optional path arguments may be supplied to limit
|
||||||
operation to a subset of the working tree. See ``Interactive
|
operation to a subset of the working tree. See ``Interactive
|
||||||
mode'' for details.
|
mode'' for details.
|
||||||
|
|
||||||
-p, \--patch::
|
-p::
|
||||||
|
--patch::
|
||||||
Similar to Interactive mode but the initial command loop is
|
Similar to Interactive mode but the initial command loop is
|
||||||
bypassed and the 'patch' subcommand is invoked using each of
|
bypassed and the 'patch' subcommand is invoked using each of
|
||||||
the specified filepatterns before exiting.
|
the specified filepatterns before exiting.
|
||||||
@ -79,11 +83,11 @@ OPTIONS
|
|||||||
command line. If no paths are specified, all tracked files in the
|
command line. If no paths are specified, all tracked files in the
|
||||||
current directory and its subdirectories are updated.
|
current directory and its subdirectories are updated.
|
||||||
|
|
||||||
\--refresh::
|
--refresh::
|
||||||
Don't add the file(s), but only refresh their stat()
|
Don't add the file(s), but only refresh their stat()
|
||||||
information in the index.
|
information in the index.
|
||||||
|
|
||||||
\--ignore-errors::
|
--ignore-errors::
|
||||||
If some files could not be added because of errors indexing
|
If some files could not be added because of errors indexing
|
||||||
them, do not abort the operation, but continue adding the
|
them, do not abort the operation, but continue adding the
|
||||||
others. The command shall still exit with non-zero status.
|
others. The command shall still exit with non-zero status.
|
||||||
|
@ -28,14 +28,17 @@ OPTIONS
|
|||||||
supply this argument, reads from the standard input. If you supply
|
supply this argument, reads from the standard input. If you supply
|
||||||
directories, they'll be treated as Maildirs.
|
directories, they'll be treated as Maildirs.
|
||||||
|
|
||||||
-s, --signoff::
|
-s::
|
||||||
|
--signoff::
|
||||||
Add `Signed-off-by:` line to the commit message, using
|
Add `Signed-off-by:` line to the commit message, using
|
||||||
the committer identity of yourself.
|
the committer identity of yourself.
|
||||||
|
|
||||||
-k, --keep::
|
-k::
|
||||||
|
--keep::
|
||||||
Pass `-k` flag to `git-mailinfo` (see linkgit:git-mailinfo[1]).
|
Pass `-k` flag to `git-mailinfo` (see linkgit:git-mailinfo[1]).
|
||||||
|
|
||||||
-u, --utf8::
|
-u::
|
||||||
|
--utf8::
|
||||||
Pass `-u` flag to `git-mailinfo` (see linkgit:git-mailinfo[1]).
|
Pass `-u` flag to `git-mailinfo` (see linkgit:git-mailinfo[1]).
|
||||||
The proposed commit log message taken from the e-mail
|
The proposed commit log message taken from the e-mail
|
||||||
is re-coded into UTF-8 encoding (configuration variable
|
is re-coded into UTF-8 encoding (configuration variable
|
||||||
@ -49,13 +52,15 @@ default. You could use `--no-utf8` to override this.
|
|||||||
Pass `-n` flag to `git-mailinfo` (see
|
Pass `-n` flag to `git-mailinfo` (see
|
||||||
linkgit:git-mailinfo[1]).
|
linkgit:git-mailinfo[1]).
|
||||||
|
|
||||||
-3, --3way::
|
-3::
|
||||||
|
--3way::
|
||||||
When the patch does not apply cleanly, fall back on
|
When the patch does not apply cleanly, fall back on
|
||||||
3-way merge, if the patch records the identity of blobs
|
3-way merge, if the patch records the identity of blobs
|
||||||
it is supposed to apply to, and we have those blobs
|
it is supposed to apply to, and we have those blobs
|
||||||
available locally.
|
available locally.
|
||||||
|
|
||||||
-b, --binary::
|
-b::
|
||||||
|
--binary::
|
||||||
Pass `--allow-binary-replacement` flag to `git-apply`
|
Pass `--allow-binary-replacement` flag to `git-apply`
|
||||||
(see linkgit:git-apply[1]).
|
(see linkgit:git-apply[1]).
|
||||||
|
|
||||||
@ -64,19 +69,22 @@ default. You could use `--no-utf8` to override this.
|
|||||||
program that applies
|
program that applies
|
||||||
the patch.
|
the patch.
|
||||||
|
|
||||||
-C<n>, -p<n>::
|
-C<n>::
|
||||||
|
-p<n>::
|
||||||
These flags are passed to the `git-apply` (see linkgit:git-apply[1])
|
These flags are passed to the `git-apply` (see linkgit:git-apply[1])
|
||||||
program that applies
|
program that applies
|
||||||
the patch.
|
the patch.
|
||||||
|
|
||||||
-i, --interactive::
|
-i::
|
||||||
|
--interactive::
|
||||||
Run interactively.
|
Run interactively.
|
||||||
|
|
||||||
--skip::
|
--skip::
|
||||||
Skip the current patch. This is only meaningful when
|
Skip the current patch. This is only meaningful when
|
||||||
restarting an aborted patch.
|
restarting an aborted patch.
|
||||||
|
|
||||||
-r, --resolved::
|
-r::
|
||||||
|
--resolved::
|
||||||
After a patch failure (e.g. attempting to apply
|
After a patch failure (e.g. attempting to apply
|
||||||
conflicting patch), the user has applied it by hand and
|
conflicting patch), the user has applied it by hand and
|
||||||
the index file stores the result of the application.
|
the index file stores the result of the application.
|
||||||
|
@ -73,7 +73,8 @@ OPTIONS
|
|||||||
When a pure mode change is encountered (which has no index information),
|
When a pure mode change is encountered (which has no index information),
|
||||||
the information is read from the current index instead.
|
the information is read from the current index instead.
|
||||||
|
|
||||||
-R, --reverse::
|
-R::
|
||||||
|
--reverse::
|
||||||
Apply the patch in reverse.
|
Apply the patch in reverse.
|
||||||
|
|
||||||
--reject::
|
--reject::
|
||||||
@ -124,7 +125,8 @@ discouraged.
|
|||||||
the result with this option, which would apply the
|
the result with this option, which would apply the
|
||||||
deletion part but not addition part.
|
deletion part but not addition part.
|
||||||
|
|
||||||
--allow-binary-replacement, --binary::
|
--allow-binary-replacement::
|
||||||
|
--binary::
|
||||||
Historically we did not allow binary patch applied
|
Historically we did not allow binary patch applied
|
||||||
without an explicit permission from the user, and this
|
without an explicit permission from the user, and this
|
||||||
flag was the way to do so. Currently we always allow binary
|
flag was the way to do so. Currently we always allow binary
|
||||||
@ -169,7 +171,8 @@ behavior:
|
|||||||
correctly. This option adds support for applying such patches by
|
correctly. This option adds support for applying such patches by
|
||||||
working around this bug.
|
working around this bug.
|
||||||
|
|
||||||
-v, --verbose::
|
-v::
|
||||||
|
--verbose::
|
||||||
Report progress to stderr. By default, only a message about the
|
Report progress to stderr. By default, only a message about the
|
||||||
current patch being applied will be printed. This option will cause
|
current patch being applied will be printed. This option will cause
|
||||||
additional information to be reported.
|
additional information to be reported.
|
||||||
|
@ -36,10 +36,12 @@ OPTIONS
|
|||||||
Format of the resulting archive: 'tar' or 'zip'. The default
|
Format of the resulting archive: 'tar' or 'zip'. The default
|
||||||
is 'tar'.
|
is 'tar'.
|
||||||
|
|
||||||
--list, -l::
|
-l::
|
||||||
|
--list::
|
||||||
Show all available formats.
|
Show all available formats.
|
||||||
|
|
||||||
--verbose, -v::
|
-v::
|
||||||
|
--verbose::
|
||||||
Report progress to stderr.
|
Report progress to stderr.
|
||||||
|
|
||||||
--prefix=<prefix>/::
|
--prefix=<prefix>/::
|
||||||
|
@ -52,12 +52,14 @@ include::blame-options.txt[]
|
|||||||
a certain threshold for git-blame to consider those lines
|
a certain threshold for git-blame to consider those lines
|
||||||
of code to have been moved.
|
of code to have been moved.
|
||||||
|
|
||||||
-f, --show-name::
|
-f::
|
||||||
|
--show-name::
|
||||||
Show filename in the original commit. By default
|
Show filename in the original commit. By default
|
||||||
filename is shown if there is any line that came from a
|
filename is shown if there is any line that came from a
|
||||||
file with different name, due to rename detection.
|
file with different name, due to rename detection.
|
||||||
|
|
||||||
-n, --show-number::
|
-n::
|
||||||
|
--show-number::
|
||||||
Show line number in the original commit (Default: off).
|
Show line number in the original commit (Default: off).
|
||||||
|
|
||||||
-s::
|
-s::
|
||||||
|
@ -95,7 +95,8 @@ OPTIONS
|
|||||||
-a::
|
-a::
|
||||||
List both remote-tracking branches and local branches.
|
List both remote-tracking branches and local branches.
|
||||||
|
|
||||||
-v, --verbose::
|
-v::
|
||||||
|
--verbose::
|
||||||
Show sha1 and commit subject line for each head.
|
Show sha1 and commit subject line for each head.
|
||||||
|
|
||||||
--abbrev=<length>::
|
--abbrev=<length>::
|
||||||
|
@ -22,21 +22,26 @@ Will copy all files listed from the index to the working directory
|
|||||||
|
|
||||||
OPTIONS
|
OPTIONS
|
||||||
-------
|
-------
|
||||||
-u|--index::
|
-u::
|
||||||
|
--index::
|
||||||
update stat information for the checked out entries in
|
update stat information for the checked out entries in
|
||||||
the index file.
|
the index file.
|
||||||
|
|
||||||
-q|--quiet::
|
-q::
|
||||||
|
--quiet::
|
||||||
be quiet if files exist or are not in the index
|
be quiet if files exist or are not in the index
|
||||||
|
|
||||||
-f|--force::
|
-f::
|
||||||
|
--force::
|
||||||
forces overwrite of existing files
|
forces overwrite of existing files
|
||||||
|
|
||||||
-a|--all::
|
-a::
|
||||||
|
--all::
|
||||||
checks out all files in the index. Cannot be used
|
checks out all files in the index. Cannot be used
|
||||||
together with explicit filenames.
|
together with explicit filenames.
|
||||||
|
|
||||||
-n|--no-create::
|
-n::
|
||||||
|
--no-create::
|
||||||
Don't checkout new files, only refresh files already checked
|
Don't checkout new files, only refresh files already checked
|
||||||
out.
|
out.
|
||||||
|
|
||||||
|
@ -47,7 +47,8 @@ OPTIONS
|
|||||||
by linkgit:git-check-ref-format[1]. Some of these checks
|
by linkgit:git-check-ref-format[1]. Some of these checks
|
||||||
may restrict the characters allowed in a branch name.
|
may restrict the characters allowed in a branch name.
|
||||||
|
|
||||||
-t, --track::
|
-t::
|
||||||
|
--track::
|
||||||
When creating a new branch, set up configuration so that git-pull
|
When creating a new branch, set up configuration so that git-pull
|
||||||
will automatically retrieve data from the start point, which must be
|
will automatically retrieve data from the start point, which must be
|
||||||
a branch. Use this if you always pull from the same upstream branch
|
a branch. Use this if you always pull from the same upstream branch
|
||||||
|
@ -22,7 +22,8 @@ OPTIONS
|
|||||||
For a more complete list of ways to spell commits, see
|
For a more complete list of ways to spell commits, see
|
||||||
"SPECIFYING REVISIONS" section in linkgit:git-rev-parse[1].
|
"SPECIFYING REVISIONS" section in linkgit:git-rev-parse[1].
|
||||||
|
|
||||||
-e|--edit::
|
-e::
|
||||||
|
--edit::
|
||||||
With this option, `git-cherry-pick` will let you edit the commit
|
With this option, `git-cherry-pick` will let you edit the commit
|
||||||
message prior to committing.
|
message prior to committing.
|
||||||
|
|
||||||
@ -44,14 +45,16 @@ OPTIONS
|
|||||||
described above, and `-r` was to disable it. Now the
|
described above, and `-r` was to disable it. Now the
|
||||||
default is not to do `-x` so this option is a no-op.
|
default is not to do `-x` so this option is a no-op.
|
||||||
|
|
||||||
-m parent-number|--mainline parent-number::
|
-m parent-number::
|
||||||
|
--mainline parent-number::
|
||||||
Usually you cannot cherry-pick a merge because you do not know which
|
Usually you cannot cherry-pick a merge because you do not know which
|
||||||
side of the merge should be considered the mainline. This
|
side of the merge should be considered the mainline. This
|
||||||
option specifies the parent number (starting from 1) of
|
option specifies the parent number (starting from 1) of
|
||||||
the mainline and allows cherry-pick to replay the change
|
the mainline and allows cherry-pick to replay the change
|
||||||
relative to the specified parent.
|
relative to the specified parent.
|
||||||
|
|
||||||
-n|--no-commit::
|
-n::
|
||||||
|
--no-commit::
|
||||||
Usually the command automatically creates a commit with
|
Usually the command automatically creates a commit with
|
||||||
a commit log message stating which commit was
|
a commit log message stating which commit was
|
||||||
cherry-picked. This flag applies the change necessary
|
cherry-picked. This flag applies the change necessary
|
||||||
@ -64,7 +67,8 @@ OPTIONS
|
|||||||
This is useful when cherry-picking more than one commits'
|
This is useful when cherry-picking more than one commits'
|
||||||
effect to your working tree in a row.
|
effect to your working tree in a row.
|
||||||
|
|
||||||
-s|--signoff::
|
-s::
|
||||||
|
--signoff::
|
||||||
Add Signed-off-by line at the end of the commit message.
|
Add Signed-off-by line at the end of the commit message.
|
||||||
|
|
||||||
|
|
||||||
|
@ -52,21 +52,25 @@ that, you can recover from it with linkgit:git-reset[1].
|
|||||||
|
|
||||||
OPTIONS
|
OPTIONS
|
||||||
-------
|
-------
|
||||||
-a|--all::
|
-a::
|
||||||
|
--all::
|
||||||
Tell the command to automatically stage files that have
|
Tell the command to automatically stage files that have
|
||||||
been modified and deleted, but new files you have not
|
been modified and deleted, but new files you have not
|
||||||
told git about are not affected.
|
told git about are not affected.
|
||||||
|
|
||||||
-C <commit>|--reuse-message=<commit>::
|
-C <commit>::
|
||||||
|
--reuse-message=<commit>::
|
||||||
Take an existing commit object, and reuse the log message
|
Take an existing commit object, and reuse the log message
|
||||||
and the authorship information (including the timestamp)
|
and the authorship information (including the timestamp)
|
||||||
when creating the commit.
|
when creating the commit.
|
||||||
|
|
||||||
-c <commit>|--reedit-message=<commit>::
|
-c <commit>::
|
||||||
|
--reedit-message=<commit>::
|
||||||
Like '-C', but with '-c' the editor is invoked, so that
|
Like '-C', but with '-c' the editor is invoked, so that
|
||||||
the user can further edit the commit message.
|
the user can further edit the commit message.
|
||||||
|
|
||||||
-F <file>|--file=<file>::
|
-F <file>::
|
||||||
|
--file=<file>::
|
||||||
Take the commit message from the given file. Use '-' to
|
Take the commit message from the given file. Use '-' to
|
||||||
read the message from the standard input.
|
read the message from the standard input.
|
||||||
|
|
||||||
@ -74,20 +78,24 @@ OPTIONS
|
|||||||
Override the author name used in the commit. Use
|
Override the author name used in the commit. Use
|
||||||
`A U Thor <author@example.com>` format.
|
`A U Thor <author@example.com>` format.
|
||||||
|
|
||||||
-m <msg>|--message=<msg>::
|
-m <msg>::
|
||||||
|
--message=<msg>::
|
||||||
Use the given <msg> as the commit message.
|
Use the given <msg> as the commit message.
|
||||||
|
|
||||||
-t <file>|--template=<file>::
|
-t <file>::
|
||||||
|
--template=<file>::
|
||||||
Use the contents of the given file as the initial version
|
Use the contents of the given file as the initial version
|
||||||
of the commit message. The editor is invoked and you can
|
of the commit message. The editor is invoked and you can
|
||||||
make subsequent changes. If a message is specified using
|
make subsequent changes. If a message is specified using
|
||||||
the `-m` or `-F` options, this option has no effect. This
|
the `-m` or `-F` options, this option has no effect. This
|
||||||
overrides the `commit.template` configuration variable.
|
overrides the `commit.template` configuration variable.
|
||||||
|
|
||||||
-s|--signoff::
|
-s::
|
||||||
|
--signoff::
|
||||||
Add Signed-off-by line at the end of the commit message.
|
Add Signed-off-by line at the end of the commit message.
|
||||||
|
|
||||||
-n|--no-verify::
|
-n::
|
||||||
|
--no-verify::
|
||||||
This option bypasses the pre-commit and commit-msg hooks.
|
This option bypasses the pre-commit and commit-msg hooks.
|
||||||
See also linkgit:githooks[5][hooks].
|
See also linkgit:githooks[5][hooks].
|
||||||
|
|
||||||
@ -107,7 +115,8 @@ OPTIONS
|
|||||||
'whitespace' removes just leading/trailing whitespace lines
|
'whitespace' removes just leading/trailing whitespace lines
|
||||||
and 'strip' removes both whitespace and commentary.
|
and 'strip' removes both whitespace and commentary.
|
||||||
|
|
||||||
-e|--edit::
|
-e::
|
||||||
|
--edit::
|
||||||
The message taken from file with `-F`, command line with
|
The message taken from file with `-F`, command line with
|
||||||
`-m`, and from file with `-C` are usually used as the
|
`-m`, and from file with `-C` are usually used as the
|
||||||
commit log message unmodified. This option lets you
|
commit log message unmodified. This option lets you
|
||||||
@ -134,13 +143,15 @@ It is a rough equivalent for:
|
|||||||
but can be used to amend a merge commit.
|
but can be used to amend a merge commit.
|
||||||
--
|
--
|
||||||
|
|
||||||
-i|--include::
|
-i::
|
||||||
|
--include::
|
||||||
Before making a commit out of staged contents so far,
|
Before making a commit out of staged contents so far,
|
||||||
stage the contents of paths given on the command line
|
stage the contents of paths given on the command line
|
||||||
as well. This is usually not what you want unless you
|
as well. This is usually not what you want unless you
|
||||||
are concluding a conflicted merge.
|
are concluding a conflicted merge.
|
||||||
|
|
||||||
-o|--only::
|
-o::
|
||||||
|
--only::
|
||||||
Make a commit only from the paths specified on the
|
Make a commit only from the paths specified on the
|
||||||
command line, disregarding any contents that have been
|
command line, disregarding any contents that have been
|
||||||
staged so far. This is the default mode of operation of
|
staged so far. This is the default mode of operation of
|
||||||
@ -151,20 +162,23 @@ but can be used to amend a merge commit.
|
|||||||
the last commit without committing changes that have
|
the last commit without committing changes that have
|
||||||
already been staged.
|
already been staged.
|
||||||
|
|
||||||
-u|--untracked-files::
|
-u::
|
||||||
|
--untracked-files::
|
||||||
Show all untracked files, also those in uninteresting
|
Show all untracked files, also those in uninteresting
|
||||||
directories, in the "Untracked files:" section of commit
|
directories, in the "Untracked files:" section of commit
|
||||||
message template. Without this option only its name and
|
message template. Without this option only its name and
|
||||||
a trailing slash are displayed for each untracked
|
a trailing slash are displayed for each untracked
|
||||||
directory.
|
directory.
|
||||||
|
|
||||||
-v|--verbose::
|
-v::
|
||||||
|
--verbose::
|
||||||
Show unified diff between the HEAD commit and what
|
Show unified diff between the HEAD commit and what
|
||||||
would be committed at the bottom of the commit message
|
would be committed at the bottom of the commit message
|
||||||
template. Note that this diff output doesn't have its
|
template. Note that this diff output doesn't have its
|
||||||
lines prefixed with '#'.
|
lines prefixed with '#'.
|
||||||
|
|
||||||
-q|--quiet::
|
-q::
|
||||||
|
--quiet::
|
||||||
Suppress commit summary message.
|
Suppress commit summary message.
|
||||||
|
|
||||||
\--::
|
\--::
|
||||||
|
@ -101,7 +101,8 @@ rather than from all available files.
|
|||||||
+
|
+
|
||||||
See also <<FILES>>.
|
See also <<FILES>>.
|
||||||
|
|
||||||
-f config-file, --file config-file::
|
-f config-file::
|
||||||
|
--file config-file::
|
||||||
Use the given config file instead of the one specified by GIT_CONFIG.
|
Use the given config file instead of the one specified by GIT_CONFIG.
|
||||||
|
|
||||||
--remove-section::
|
--remove-section::
|
||||||
@ -116,7 +117,8 @@ See also <<FILES>>.
|
|||||||
--unset-all::
|
--unset-all::
|
||||||
Remove all lines matching the key from config file.
|
Remove all lines matching the key from config file.
|
||||||
|
|
||||||
-l, --list::
|
-l::
|
||||||
|
--list::
|
||||||
List all variables set in config file.
|
List all variables set in config file.
|
||||||
|
|
||||||
--bool::
|
--bool::
|
||||||
@ -128,7 +130,8 @@ See also <<FILES>>.
|
|||||||
in the config file will cause the value to be multiplied
|
in the config file will cause the value to be multiplied
|
||||||
by 1024, 1048576, or 1073741824 prior to output.
|
by 1024, 1048576, or 1073741824 prior to output.
|
||||||
|
|
||||||
-z, --null::
|
-z::
|
||||||
|
--null::
|
||||||
For all options that output values and/or keys, always
|
For all options that output values and/or keys, always
|
||||||
end values with the null character (instead of a
|
end values with the null character (instead of a
|
||||||
newline). Use newline instead as a delimiter between
|
newline). Use newline instead as a delimiter between
|
||||||
|
@ -41,10 +41,13 @@ Don't allow recursing into subdirectories
|
|||||||
Don't check for `gitcvs.enabled` in config. You also have to specify a list
|
Don't check for `gitcvs.enabled` in config. You also have to specify a list
|
||||||
of allowed directories (see below) if you want to use this option.
|
of allowed directories (see below) if you want to use this option.
|
||||||
|
|
||||||
--version, -V::
|
-V::
|
||||||
|
--version::
|
||||||
Print version information and exit
|
Print version information and exit
|
||||||
|
|
||||||
--help, -h, -H::
|
-h::
|
||||||
|
-H::
|
||||||
|
--help::
|
||||||
Print usage information and exit
|
Print usage information and exit
|
||||||
|
|
||||||
<directory>::
|
<directory>::
|
||||||
|
@ -103,7 +103,8 @@ OPTIONS
|
|||||||
Log to syslog instead of stderr. Note that this option does not imply
|
Log to syslog instead of stderr. Note that this option does not imply
|
||||||
--verbose, thus by default only error conditions will be logged.
|
--verbose, thus by default only error conditions will be logged.
|
||||||
|
|
||||||
--user-path, --user-path=path::
|
--user-path::
|
||||||
|
--user-path=path::
|
||||||
Allow ~user notation to be used in requests. When
|
Allow ~user notation to be used in requests. When
|
||||||
specified with no parameter, requests to
|
specified with no parameter, requests to
|
||||||
git://host/~alice/foo is taken as a request to access
|
git://host/~alice/foo is taken as a request to access
|
||||||
@ -127,7 +128,8 @@ OPTIONS
|
|||||||
Save the process id in 'file'. Ignored when the daemon
|
Save the process id in 'file'. Ignored when the daemon
|
||||||
is run under `--inetd`.
|
is run under `--inetd`.
|
||||||
|
|
||||||
--user=user, --group=group::
|
--user=user::
|
||||||
|
--group=group::
|
||||||
Change daemon's uid and gid before entering the service loop.
|
Change daemon's uid and gid before entering the service loop.
|
||||||
When only `--user` is given without `--group`, the
|
When only `--user` is given without `--group`, the
|
||||||
primary group ID for the user is used. The values of
|
primary group ID for the user is used. The values of
|
||||||
@ -138,14 +140,16 @@ Giving these options is an error when used with `--inetd`; use
|
|||||||
the facility of inet daemon to achieve the same before spawning
|
the facility of inet daemon to achieve the same before spawning
|
||||||
`git-daemon` if needed.
|
`git-daemon` if needed.
|
||||||
|
|
||||||
--enable=service, --disable=service::
|
--enable=service::
|
||||||
|
--disable=service::
|
||||||
Enable/disable the service site-wide per default. Note
|
Enable/disable the service site-wide per default. Note
|
||||||
that a service disabled site-wide can still be enabled
|
that a service disabled site-wide can still be enabled
|
||||||
per repository if it is marked overridable and the
|
per repository if it is marked overridable and the
|
||||||
repository enables the service with an configuration
|
repository enables the service with an configuration
|
||||||
item.
|
item.
|
||||||
|
|
||||||
--allow-override=service, --forbid-override=service::
|
--allow-override=service::
|
||||||
|
--forbid-override=service::
|
||||||
Allow/forbid overriding the site-wide default with per
|
Allow/forbid overriding the site-wide default with per
|
||||||
repository configuration. By default, all the services
|
repository configuration. By default, all the services
|
||||||
are overridable.
|
are overridable.
|
||||||
|
@ -30,7 +30,8 @@ The default is to diff against our branch (-2) and the
|
|||||||
cleanly resolved paths. The option -0 can be given to
|
cleanly resolved paths. The option -0 can be given to
|
||||||
omit diff output for unmerged entries and just show "Unmerged".
|
omit diff output for unmerged entries and just show "Unmerged".
|
||||||
|
|
||||||
-c,--cc::
|
-c::
|
||||||
|
--cc::
|
||||||
This compares stage 2 (our branch), stage 3 (their
|
This compares stage 2 (our branch), stage 3 (their
|
||||||
branch) and the working tree file and outputs a combined
|
branch) and the working tree file and outputs a combined
|
||||||
diff, similar to the way 'diff-tree' shows a merge
|
diff, similar to the way 'diff-tree' shows a merge
|
||||||
|
@ -28,30 +28,32 @@ have a common ancestor commit.
|
|||||||
|
|
||||||
OPTIONS
|
OPTIONS
|
||||||
-------
|
-------
|
||||||
\--all::
|
--all::
|
||||||
Fetch all remote refs.
|
Fetch all remote refs.
|
||||||
|
|
||||||
\--quiet, \-q::
|
-q::
|
||||||
|
--quiet::
|
||||||
Pass '-q' flag to 'git-unpack-objects'; this makes the
|
Pass '-q' flag to 'git-unpack-objects'; this makes the
|
||||||
cloning process less verbose.
|
cloning process less verbose.
|
||||||
|
|
||||||
\--keep, \-k::
|
-k::
|
||||||
|
--keep::
|
||||||
Do not invoke 'git-unpack-objects' on received data, but
|
Do not invoke 'git-unpack-objects' on received data, but
|
||||||
create a single packfile out of it instead, and store it
|
create a single packfile out of it instead, and store it
|
||||||
in the object database. If provided twice then the pack is
|
in the object database. If provided twice then the pack is
|
||||||
locked against repacking.
|
locked against repacking.
|
||||||
|
|
||||||
\--thin::
|
--thin::
|
||||||
Spend extra cycles to minimize the number of objects to be sent.
|
Spend extra cycles to minimize the number of objects to be sent.
|
||||||
Use it on slower connection.
|
Use it on slower connection.
|
||||||
|
|
||||||
\--include-tag::
|
--include-tag::
|
||||||
If the remote side supports it, annotated tags objects will
|
If the remote side supports it, annotated tags objects will
|
||||||
be downloaded on the same connection as the other objects if
|
be downloaded on the same connection as the other objects if
|
||||||
the object the tag references is downloaded. The caller must
|
the object the tag references is downloaded. The caller must
|
||||||
otherwise determine the tags this option made available.
|
otherwise determine the tags this option made available.
|
||||||
|
|
||||||
\--upload-pack=<git-upload-pack>::
|
--upload-pack=<git-upload-pack>::
|
||||||
Use this to specify the path to 'git-upload-pack' on the
|
Use this to specify the path to 'git-upload-pack' on the
|
||||||
remote side, if is not found on your $PATH.
|
remote side, if is not found on your $PATH.
|
||||||
Installations of sshd ignores the user's environment
|
Installations of sshd ignores the user's environment
|
||||||
@ -63,16 +65,16 @@ OPTIONS
|
|||||||
shells by having a lean .bashrc file (they set most of
|
shells by having a lean .bashrc file (they set most of
|
||||||
the things up in .bash_profile).
|
the things up in .bash_profile).
|
||||||
|
|
||||||
\--exec=<git-upload-pack>::
|
--exec=<git-upload-pack>::
|
||||||
Same as \--upload-pack=<git-upload-pack>.
|
Same as \--upload-pack=<git-upload-pack>.
|
||||||
|
|
||||||
\--depth=<n>::
|
--depth=<n>::
|
||||||
Limit fetching to ancestor-chains not longer than n.
|
Limit fetching to ancestor-chains not longer than n.
|
||||||
|
|
||||||
\--no-progress::
|
--no-progress::
|
||||||
Do not show the progress.
|
Do not show the progress.
|
||||||
|
|
||||||
\-v::
|
-v::
|
||||||
Run verbosely.
|
Run verbosely.
|
||||||
|
|
||||||
<host>::
|
<host>::
|
||||||
|
@ -161,7 +161,8 @@ to other tags will be rewritten to point to the underlying commit.
|
|||||||
does this in the '.git-rewrite/' directory but you can override
|
does this in the '.git-rewrite/' directory but you can override
|
||||||
that choice by this parameter.
|
that choice by this parameter.
|
||||||
|
|
||||||
-f|--force::
|
-f::
|
||||||
|
--force::
|
||||||
`git filter-branch` refuses to start with an existing temporary
|
`git filter-branch` refuses to start with an existing temporary
|
||||||
directory or when there are already refs starting with
|
directory or when there are already refs starting with
|
||||||
'refs/original/', unless forced.
|
'refs/original/', unless forced.
|
||||||
|
@ -33,11 +33,13 @@ OPTIONS
|
|||||||
Do not list one-line descriptions from the actual commits being
|
Do not list one-line descriptions from the actual commits being
|
||||||
merged.
|
merged.
|
||||||
|
|
||||||
--summary,--no-summary::
|
--summary::
|
||||||
|
--no-summary::
|
||||||
Synonyms to --log and --no-log; these are deprecated and will be
|
Synonyms to --log and --no-log; these are deprecated and will be
|
||||||
removed in the future.
|
removed in the future.
|
||||||
|
|
||||||
--file <file>, -F <file>::
|
-F <file>::
|
||||||
|
--file <file>::
|
||||||
Take the list of merged objects from <file> instead of
|
Take the list of merged objects from <file> instead of
|
||||||
stdin.
|
stdin.
|
||||||
|
|
||||||
|
@ -53,7 +53,10 @@ OPTIONS
|
|||||||
literally, in the latter case matching completely or from the
|
literally, in the latter case matching completely or from the
|
||||||
beginning up to a slash.
|
beginning up to a slash.
|
||||||
|
|
||||||
--shell, --perl, --python, --tcl::
|
--shell::
|
||||||
|
--perl::
|
||||||
|
--python::
|
||||||
|
--tcl::
|
||||||
If given, strings that substitute `%(fieldname)`
|
If given, strings that substitute `%(fieldname)`
|
||||||
placeholders are quoted as string literals suitable for
|
placeholders are quoted as string literals suitable for
|
||||||
the specified host language. This is meant to produce
|
the specified host language. This is meant to produce
|
||||||
|
@ -74,14 +74,17 @@ include::diff-options.txt[]
|
|||||||
-<n>::
|
-<n>::
|
||||||
Limits the number of patches to prepare.
|
Limits the number of patches to prepare.
|
||||||
|
|
||||||
-o|--output-directory <dir>::
|
-o <dir>::
|
||||||
|
--output-directory <dir>::
|
||||||
Use <dir> to store the resulting files, instead of the
|
Use <dir> to store the resulting files, instead of the
|
||||||
current working directory.
|
current working directory.
|
||||||
|
|
||||||
-n|--numbered::
|
-n::
|
||||||
|
--numbered::
|
||||||
Name output in '[PATCH n/m]' format.
|
Name output in '[PATCH n/m]' format.
|
||||||
|
|
||||||
-N|--no-numbered::
|
-N::
|
||||||
|
--no-numbered::
|
||||||
Name output in '[PATCH]' format.
|
Name output in '[PATCH]' format.
|
||||||
|
|
||||||
--start-number <n>::
|
--start-number <n>::
|
||||||
@ -92,11 +95,13 @@ include::diff-options.txt[]
|
|||||||
without the default first line of the commit appended.
|
without the default first line of the commit appended.
|
||||||
Mutually exclusive with the --stdout option.
|
Mutually exclusive with the --stdout option.
|
||||||
|
|
||||||
-k|--keep-subject::
|
-k::
|
||||||
|
--keep-subject::
|
||||||
Do not strip/add '[PATCH]' from the first line of the
|
Do not strip/add '[PATCH]' from the first line of the
|
||||||
commit log message.
|
commit log message.
|
||||||
|
|
||||||
-s|--signoff::
|
-s::
|
||||||
|
--signoff::
|
||||||
Add `Signed-off-by:` line to the commit message, using
|
Add `Signed-off-by:` line to the commit message, using
|
||||||
the committer identity of yourself.
|
the committer identity of yourself.
|
||||||
|
|
||||||
|
@ -33,25 +33,30 @@ OPTIONS
|
|||||||
Instead of searching in the working tree files, check
|
Instead of searching in the working tree files, check
|
||||||
the blobs registered in the index file.
|
the blobs registered in the index file.
|
||||||
|
|
||||||
-a | --text::
|
-a::
|
||||||
|
--text::
|
||||||
Process binary files as if they were text.
|
Process binary files as if they were text.
|
||||||
|
|
||||||
-i | --ignore-case::
|
-i::
|
||||||
|
--ignore-case::
|
||||||
Ignore case differences between the patterns and the
|
Ignore case differences between the patterns and the
|
||||||
files.
|
files.
|
||||||
|
|
||||||
-I::
|
-I::
|
||||||
Don't match the pattern in binary files.
|
Don't match the pattern in binary files.
|
||||||
|
|
||||||
-w | --word-regexp::
|
-w::
|
||||||
|
--word-regexp::
|
||||||
Match the pattern only at word boundary (either begin at the
|
Match the pattern only at word boundary (either begin at the
|
||||||
beginning of a line, or preceded by a non-word character; end at
|
beginning of a line, or preceded by a non-word character; end at
|
||||||
the end of a line or followed by a non-word character).
|
the end of a line or followed by a non-word character).
|
||||||
|
|
||||||
-v | --invert-match::
|
-v::
|
||||||
|
--invert-match::
|
||||||
Select non-matching lines.
|
Select non-matching lines.
|
||||||
|
|
||||||
-h | -H::
|
-h::
|
||||||
|
-H::
|
||||||
By default, the command shows the filename for each
|
By default, the command shows the filename for each
|
||||||
match. `-h` option is used to suppress this output.
|
match. `-h` option is used to suppress this output.
|
||||||
`-H` is there for completeness and does not do anything
|
`-H` is there for completeness and does not do anything
|
||||||
@ -64,24 +69,33 @@ OPTIONS
|
|||||||
option forces paths to be output relative to the project
|
option forces paths to be output relative to the project
|
||||||
top directory.
|
top directory.
|
||||||
|
|
||||||
-E | --extended-regexp | -G | --basic-regexp::
|
-E::
|
||||||
|
--extended-regexp::
|
||||||
|
-G::
|
||||||
|
--basic-regexp::
|
||||||
Use POSIX extended/basic regexp for patterns. Default
|
Use POSIX extended/basic regexp for patterns. Default
|
||||||
is to use basic regexp.
|
is to use basic regexp.
|
||||||
|
|
||||||
-F | --fixed-strings::
|
-F::
|
||||||
|
--fixed-strings::
|
||||||
Use fixed strings for patterns (don't interpret pattern
|
Use fixed strings for patterns (don't interpret pattern
|
||||||
as a regex).
|
as a regex).
|
||||||
|
|
||||||
-n::
|
-n::
|
||||||
Prefix the line number to matching lines.
|
Prefix the line number to matching lines.
|
||||||
|
|
||||||
-l | --files-with-matches | --name-only | -L | --files-without-match::
|
-l::
|
||||||
|
--files-with-matches::
|
||||||
|
--name-only::
|
||||||
|
-L::
|
||||||
|
--files-without-match::
|
||||||
Instead of showing every matched line, show only the
|
Instead of showing every matched line, show only the
|
||||||
names of files that contain (or do not contain) matches.
|
names of files that contain (or do not contain) matches.
|
||||||
For better compatibility with git-diff, --name-only is a
|
For better compatibility with git-diff, --name-only is a
|
||||||
synonym for --files-with-matches.
|
synonym for --files-with-matches.
|
||||||
|
|
||||||
-c | --count::
|
-c::
|
||||||
|
--count::
|
||||||
Instead of showing every matched line, show the number of
|
Instead of showing every matched line, show the number of
|
||||||
lines that match.
|
lines that match.
|
||||||
|
|
||||||
@ -103,7 +117,10 @@ OPTIONS
|
|||||||
scripts passing user input to grep. Multiple patterns are
|
scripts passing user input to grep. Multiple patterns are
|
||||||
combined by 'or'.
|
combined by 'or'.
|
||||||
|
|
||||||
--and | --or | --not | ( | )::
|
--and::
|
||||||
|
--or::
|
||||||
|
--not::
|
||||||
|
( ... )::
|
||||||
Specify how multiple patterns are combined using Boolean
|
Specify how multiple patterns are combined using Boolean
|
||||||
expressions. `--or` is the default operator. `--and` has
|
expressions. `--or` is the default operator. `--and` has
|
||||||
higher precedence than `--or`. `-e` has to be used for all
|
higher precedence than `--or`. `-e` has to be used for all
|
||||||
|
@ -28,15 +28,18 @@ former is internally converted into the latter.
|
|||||||
|
|
||||||
OPTIONS
|
OPTIONS
|
||||||
-------
|
-------
|
||||||
-a|--all::
|
-a::
|
||||||
|
--all::
|
||||||
Prints all the available commands on the standard output. This
|
Prints all the available commands on the standard output. This
|
||||||
option supersedes any other option.
|
option supersedes any other option.
|
||||||
|
|
||||||
-i|--info::
|
-i::
|
||||||
|
--info::
|
||||||
Display manual page for the command in the 'info' format. The
|
Display manual page for the command in the 'info' format. The
|
||||||
'info' program will be used for that purpose.
|
'info' program will be used for that purpose.
|
||||||
|
|
||||||
-m|--man::
|
-m::
|
||||||
|
--man::
|
||||||
Display manual page for the command in the 'man' format. This
|
Display manual page for the command in the 'man' format. This
|
||||||
option may be used to override a value set in the
|
option may be used to override a value set in the
|
||||||
'help.format' configuration variable.
|
'help.format' configuration variable.
|
||||||
@ -45,7 +48,8 @@ By default the 'man' program will be used to display the manual page,
|
|||||||
but the 'man.viewer' configuration variable may be used to choose
|
but the 'man.viewer' configuration variable may be used to choose
|
||||||
other display programs (see below).
|
other display programs (see below).
|
||||||
|
|
||||||
-w|--web::
|
-w::
|
||||||
|
--web::
|
||||||
Display manual page for the command in the 'web' (HTML)
|
Display manual page for the command in the 'web' (HTML)
|
||||||
format. A web browser will be used for that purpose.
|
format. A web browser will be used for that purpose.
|
||||||
+
|
+
|
||||||
|
@ -40,7 +40,8 @@ OPTIONS
|
|||||||
Report the list of objects being walked locally and the
|
Report the list of objects being walked locally and the
|
||||||
list of objects successfully sent to the remote repository.
|
list of objects successfully sent to the remote repository.
|
||||||
|
|
||||||
-d, -D::
|
-d::
|
||||||
|
-D::
|
||||||
Remove <ref> from remote repository. The specified branch
|
Remove <ref> from remote repository. The specified branch
|
||||||
cannot be the remote HEAD. If -d is specified the following
|
cannot be the remote HEAD. If -d is specified the following
|
||||||
other conditions must also be met:
|
other conditions must also be met:
|
||||||
|
@ -16,7 +16,8 @@ OPTIONS
|
|||||||
|
|
||||||
--
|
--
|
||||||
|
|
||||||
-q, \--quiet::
|
-q::
|
||||||
|
--quiet::
|
||||||
|
|
||||||
Only print error and warning messages, all other output will be suppressed.
|
Only print error and warning messages, all other output will be suppressed.
|
||||||
|
|
||||||
|
@ -20,24 +20,29 @@ repository.
|
|||||||
OPTIONS
|
OPTIONS
|
||||||
-------
|
-------
|
||||||
|
|
||||||
-l|--local::
|
-l::
|
||||||
|
--local::
|
||||||
Only bind the web server to the local IP (127.0.0.1).
|
Only bind the web server to the local IP (127.0.0.1).
|
||||||
|
|
||||||
-d|--httpd::
|
-d::
|
||||||
|
--httpd::
|
||||||
The HTTP daemon command-line that will be executed.
|
The HTTP daemon command-line that will be executed.
|
||||||
Command-line options may be specified here, and the
|
Command-line options may be specified here, and the
|
||||||
configuration file will be added at the end of the command-line.
|
configuration file will be added at the end of the command-line.
|
||||||
Currently lighttpd, apache2 and webrick are supported.
|
Currently lighttpd, apache2 and webrick are supported.
|
||||||
(Default: lighttpd)
|
(Default: lighttpd)
|
||||||
|
|
||||||
-m|--module-path::
|
-m::
|
||||||
|
--module-path::
|
||||||
The module path (only needed if httpd is Apache).
|
The module path (only needed if httpd is Apache).
|
||||||
(Default: /usr/lib/apache2/modules)
|
(Default: /usr/lib/apache2/modules)
|
||||||
|
|
||||||
-p|--port::
|
-p::
|
||||||
|
--port::
|
||||||
The port number to bind the httpd to. (Default: 1234)
|
The port number to bind the httpd to. (Default: 1234)
|
||||||
|
|
||||||
-b|--browser::
|
-b::
|
||||||
|
--browser::
|
||||||
The web browser that should be used to view the gitweb
|
The web browser that should be used to view the gitweb
|
||||||
page. This will be passed to the 'git-web--browse' helper
|
page. This will be passed to the 'git-web--browse' helper
|
||||||
script along with the URL of the gitweb instance. See
|
script along with the URL of the gitweb instance. See
|
||||||
|
@ -30,23 +30,29 @@ shown:
|
|||||||
|
|
||||||
OPTIONS
|
OPTIONS
|
||||||
-------
|
-------
|
||||||
-c|--cached::
|
-c::
|
||||||
|
--cached::
|
||||||
Show cached files in the output (default)
|
Show cached files in the output (default)
|
||||||
|
|
||||||
-d|--deleted::
|
-d::
|
||||||
|
--deleted::
|
||||||
Show deleted files in the output
|
Show deleted files in the output
|
||||||
|
|
||||||
-m|--modified::
|
-m::
|
||||||
|
--modified::
|
||||||
Show modified files in the output
|
Show modified files in the output
|
||||||
|
|
||||||
-o|--others::
|
-o::
|
||||||
|
--others::
|
||||||
Show other files in the output
|
Show other files in the output
|
||||||
|
|
||||||
-i|--ignored::
|
-i::
|
||||||
|
--ignored::
|
||||||
Show ignored files in the output.
|
Show ignored files in the output.
|
||||||
Note that this also reverses any exclude list present.
|
Note that this also reverses any exclude list present.
|
||||||
|
|
||||||
-s|--stage::
|
-s::
|
||||||
|
--stage::
|
||||||
Show stage files in the output
|
Show stage files in the output
|
||||||
|
|
||||||
--directory::
|
--directory::
|
||||||
@ -56,10 +62,12 @@ OPTIONS
|
|||||||
--no-empty-directory::
|
--no-empty-directory::
|
||||||
Do not list empty directories. Has no effect without --directory.
|
Do not list empty directories. Has no effect without --directory.
|
||||||
|
|
||||||
-u|--unmerged::
|
-u::
|
||||||
|
--unmerged::
|
||||||
Show unmerged files in the output (forces --stage)
|
Show unmerged files in the output (forces --stage)
|
||||||
|
|
||||||
-k|--killed::
|
-k::
|
||||||
|
--killed::
|
||||||
Show files on the filesystem that need to be removed due
|
Show files on the filesystem that need to be removed due
|
||||||
to file/directory conflicts for checkout-index to
|
to file/directory conflicts for checkout-index to
|
||||||
succeed.
|
succeed.
|
||||||
@ -67,11 +75,13 @@ OPTIONS
|
|||||||
-z::
|
-z::
|
||||||
\0 line termination on output.
|
\0 line termination on output.
|
||||||
|
|
||||||
-x|--exclude=<pattern>::
|
-x <pattern>::
|
||||||
|
--exclude=<pattern>::
|
||||||
Skips files matching pattern.
|
Skips files matching pattern.
|
||||||
Note that pattern is a shell wildcard pattern.
|
Note that pattern is a shell wildcard pattern.
|
||||||
|
|
||||||
-X|--exclude-from=<file>::
|
-X <file>::
|
||||||
|
--exclude-from=<file>::
|
||||||
exclude patterns are read from <file>; 1 per line.
|
exclude patterns are read from <file>; 1 per line.
|
||||||
|
|
||||||
--exclude-per-directory=<file>::
|
--exclude-per-directory=<file>::
|
||||||
|
@ -20,13 +20,17 @@ commit IDs.
|
|||||||
|
|
||||||
OPTIONS
|
OPTIONS
|
||||||
-------
|
-------
|
||||||
-h|--heads, -t|--tags::
|
-h::
|
||||||
|
--heads::
|
||||||
|
-t::
|
||||||
|
--tags::
|
||||||
Limit to only refs/heads and refs/tags, respectively.
|
Limit to only refs/heads and refs/tags, respectively.
|
||||||
These options are _not_ mutually exclusive; when given
|
These options are _not_ mutually exclusive; when given
|
||||||
both, references stored in refs/heads and refs/tags are
|
both, references stored in refs/heads and refs/tags are
|
||||||
displayed.
|
displayed.
|
||||||
|
|
||||||
-u <exec>, --upload-pack=<exec>::
|
-u <exec>::
|
||||||
|
--upload-pack=<exec>::
|
||||||
Specify the full path of linkgit:git-upload-pack[1] on the remote
|
Specify the full path of linkgit:git-upload-pack[1] on the remote
|
||||||
host. This allows listing references from repositories accessed via
|
host. This allows listing references from repositories accessed via
|
||||||
SSH and where the SSH daemon does not use the PATH configured by the
|
SSH and where the SSH daemon does not use the PATH configured by the
|
||||||
|
@ -34,7 +34,8 @@ OPTIONS
|
|||||||
condition. An error happens when a source is neither existing nor
|
condition. An error happens when a source is neither existing nor
|
||||||
controlled by GIT, or when it would overwrite an existing
|
controlled by GIT, or when it would overwrite an existing
|
||||||
file unless '-f' is given.
|
file unless '-f' is given.
|
||||||
-n, \--dry-run::
|
-n::
|
||||||
|
--dry-run::
|
||||||
Do nothing; only show what would happen
|
Do nothing; only show what would happen
|
||||||
|
|
||||||
|
|
||||||
|
@ -79,7 +79,8 @@ base-name::
|
|||||||
reference was included in the resulting packfile. This
|
reference was included in the resulting packfile. This
|
||||||
can be useful to send new tags to native git clients.
|
can be useful to send new tags to native git clients.
|
||||||
|
|
||||||
--window=[N], --depth=[N]::
|
--window=[N]::
|
||||||
|
--depth=[N]::
|
||||||
These two options affect how the objects contained in
|
These two options affect how the objects contained in
|
||||||
the pack are stored using delta compression. The
|
the pack are stored using delta compression. The
|
||||||
objects are first internally sorted by type, size and
|
objects are first internally sorted by type, size and
|
||||||
|
@ -42,7 +42,7 @@ unpacked.
|
|||||||
OPTIONS
|
OPTIONS
|
||||||
-------
|
-------
|
||||||
|
|
||||||
\--all::
|
--all::
|
||||||
|
|
||||||
The command by default packs all tags and refs that are already
|
The command by default packs all tags and refs that are already
|
||||||
packed, and leaves other refs
|
packed, and leaves other refs
|
||||||
@ -51,7 +51,7 @@ developed and packing their tips does not help performance.
|
|||||||
This option causes branch tips to be packed as well. Useful for
|
This option causes branch tips to be packed as well. Useful for
|
||||||
a repository with many branches of historical interests.
|
a repository with many branches of historical interests.
|
||||||
|
|
||||||
\--no-prune::
|
--no-prune::
|
||||||
|
|
||||||
The command usually removes loose refs under `$GIT_DIR/refs`
|
The command usually removes loose refs under `$GIT_DIR/refs`
|
||||||
hierarchy after packing them. This option tells it not to.
|
hierarchy after packing them. This option tells it not to.
|
||||||
|
@ -16,7 +16,7 @@ This command is deprecated; use `git-ls-remote` instead.
|
|||||||
|
|
||||||
OPTIONS
|
OPTIONS
|
||||||
-------
|
-------
|
||||||
\--upload-pack=<git-upload-pack>::
|
--upload-pack=<git-upload-pack>::
|
||||||
Use this to specify the path to 'git-upload-pack' on the
|
Use this to specify the path to 'git-upload-pack' on the
|
||||||
remote side, if it is not found on your $PATH. Some
|
remote side, if it is not found on your $PATH. Some
|
||||||
installations of sshd ignores the user's environment
|
installations of sshd ignores the user's environment
|
||||||
|
@ -37,7 +37,7 @@ OPTIONS
|
|||||||
\--::
|
\--::
|
||||||
Do not interpret any more arguments as options.
|
Do not interpret any more arguments as options.
|
||||||
|
|
||||||
\--expire <time>::
|
--expire <time>::
|
||||||
Only expire loose objects older than <time>.
|
Only expire loose objects older than <time>.
|
||||||
|
|
||||||
<head>...::
|
<head>...::
|
||||||
|
@ -30,7 +30,7 @@ include::merge-options.txt[]
|
|||||||
|
|
||||||
:git-pull: 1
|
:git-pull: 1
|
||||||
|
|
||||||
\--rebase::
|
--rebase::
|
||||||
Instead of a merge, perform a rebase after fetching. If
|
Instead of a merge, perform a rebase after fetching. If
|
||||||
there is a remote ref for the upstream branch, and this branch
|
there is a remote ref for the upstream branch, and this branch
|
||||||
was rebased since last fetched, the rebase uses that information
|
was rebased since last fetched, the rebase uses that information
|
||||||
@ -43,8 +43,8 @@ It rewrites history, which does not bode well when you
|
|||||||
published that history already. Do *not* use this option
|
published that history already. Do *not* use this option
|
||||||
unless you have read linkgit:git-rebase[1] carefully.
|
unless you have read linkgit:git-rebase[1] carefully.
|
||||||
|
|
||||||
\--no-rebase::
|
--no-rebase::
|
||||||
Override earlier \--rebase.
|
Override earlier --rebase.
|
||||||
|
|
||||||
include::fetch-options.txt[]
|
include::fetch-options.txt[]
|
||||||
|
|
||||||
|
@ -61,11 +61,11 @@ already exists on the remote side. This is the default operation mode
|
|||||||
if no explicit refspec is found (that is neither on the command line
|
if no explicit refspec is found (that is neither on the command line
|
||||||
nor in any Push line of the corresponding remotes file---see below).
|
nor in any Push line of the corresponding remotes file---see below).
|
||||||
|
|
||||||
\--all::
|
--all::
|
||||||
Instead of naming each ref to push, specifies that all
|
Instead of naming each ref to push, specifies that all
|
||||||
refs under `$GIT_DIR/refs/heads/` be pushed.
|
refs under `$GIT_DIR/refs/heads/` be pushed.
|
||||||
|
|
||||||
\--mirror::
|
--mirror::
|
||||||
Instead of naming each ref to push, specifies that all
|
Instead of naming each ref to push, specifies that all
|
||||||
refs under `$GIT_DIR/refs/heads/` and `$GIT_DIR/refs/tags/`
|
refs under `$GIT_DIR/refs/heads/` and `$GIT_DIR/refs/tags/`
|
||||||
be mirrored to the remote repository. Newly created local
|
be mirrored to the remote repository. Newly created local
|
||||||
@ -75,39 +75,42 @@ nor in any Push line of the corresponding remotes file---see below).
|
|||||||
if the configuration option `remote.<remote>.mirror` is
|
if the configuration option `remote.<remote>.mirror` is
|
||||||
set.
|
set.
|
||||||
|
|
||||||
\--dry-run::
|
--dry-run::
|
||||||
Do everything except actually send the updates.
|
Do everything except actually send the updates.
|
||||||
|
|
||||||
\--tags::
|
--tags::
|
||||||
All refs under `$GIT_DIR/refs/tags` are pushed, in
|
All refs under `$GIT_DIR/refs/tags` are pushed, in
|
||||||
addition to refspecs explicitly listed on the command
|
addition to refspecs explicitly listed on the command
|
||||||
line.
|
line.
|
||||||
|
|
||||||
\--receive-pack=<git-receive-pack>::
|
--receive-pack=<git-receive-pack>::
|
||||||
Path to the 'git-receive-pack' program on the remote
|
Path to the 'git-receive-pack' program on the remote
|
||||||
end. Sometimes useful when pushing to a remote
|
end. Sometimes useful when pushing to a remote
|
||||||
repository over ssh, and you do not have the program in
|
repository over ssh, and you do not have the program in
|
||||||
a directory on the default $PATH.
|
a directory on the default $PATH.
|
||||||
|
|
||||||
\--exec=<git-receive-pack>::
|
--exec=<git-receive-pack>::
|
||||||
Same as \--receive-pack=<git-receive-pack>.
|
Same as \--receive-pack=<git-receive-pack>.
|
||||||
|
|
||||||
-f, \--force::
|
-f::
|
||||||
|
--force::
|
||||||
Usually, the command refuses to update a remote ref that is
|
Usually, the command refuses to update a remote ref that is
|
||||||
not an ancestor of the local ref used to overwrite it.
|
not an ancestor of the local ref used to overwrite it.
|
||||||
This flag disables the check. This can cause the
|
This flag disables the check. This can cause the
|
||||||
remote repository to lose commits; use it with care.
|
remote repository to lose commits; use it with care.
|
||||||
|
|
||||||
\--repo=<repo>::
|
--repo=<repo>::
|
||||||
When no repository is specified the command defaults to
|
When no repository is specified the command defaults to
|
||||||
"origin"; this overrides it.
|
"origin"; this overrides it.
|
||||||
|
|
||||||
\--thin, \--no-thin::
|
--thin::
|
||||||
|
--no-thin::
|
||||||
These options are passed to `git-send-pack`. Thin
|
These options are passed to `git-send-pack`. Thin
|
||||||
transfer spends extra cycles to minimize the number of
|
transfer spends extra cycles to minimize the number of
|
||||||
objects to be sent and meant to be used on slower connection.
|
objects to be sent and meant to be used on slower connection.
|
||||||
|
|
||||||
-v, \--verbose::
|
-v::
|
||||||
|
--verbose::
|
||||||
Run verbosely.
|
Run verbosely.
|
||||||
|
|
||||||
include::urls-remotes.txt[]
|
include::urls-remotes.txt[]
|
||||||
|
@ -213,19 +213,22 @@ OPTIONS
|
|||||||
--skip::
|
--skip::
|
||||||
Restart the rebasing process by skipping the current patch.
|
Restart the rebasing process by skipping the current patch.
|
||||||
|
|
||||||
-m, \--merge::
|
-m::
|
||||||
|
--merge::
|
||||||
Use merging strategies to rebase. When the recursive (default) merge
|
Use merging strategies to rebase. When the recursive (default) merge
|
||||||
strategy is used, this allows rebase to be aware of renames on the
|
strategy is used, this allows rebase to be aware of renames on the
|
||||||
upstream side.
|
upstream side.
|
||||||
|
|
||||||
-s <strategy>, \--strategy=<strategy>::
|
-s <strategy>::
|
||||||
|
--strategy=<strategy>::
|
||||||
Use the given merge strategy; can be supplied more than
|
Use the given merge strategy; can be supplied more than
|
||||||
once to specify them in the order they should be tried.
|
once to specify them in the order they should be tried.
|
||||||
If there is no `-s` option, a built-in list of strategies
|
If there is no `-s` option, a built-in list of strategies
|
||||||
is used instead (`git-merge-recursive` when merging a single
|
is used instead (`git-merge-recursive` when merging a single
|
||||||
head, `git-merge-octopus` otherwise). This implies --merge.
|
head, `git-merge-octopus` otherwise). This implies --merge.
|
||||||
|
|
||||||
-v, \--verbose::
|
-v::
|
||||||
|
--verbose::
|
||||||
Display a diffstat of what changed upstream since the last rebase.
|
Display a diffstat of what changed upstream since the last rebase.
|
||||||
|
|
||||||
-C<n>::
|
-C<n>::
|
||||||
@ -238,12 +241,14 @@ OPTIONS
|
|||||||
This flag is passed to the `git-apply` program
|
This flag is passed to the `git-apply` program
|
||||||
(see linkgit:git-apply[1]) that applies the patch.
|
(see linkgit:git-apply[1]) that applies the patch.
|
||||||
|
|
||||||
-i, \--interactive::
|
-i::
|
||||||
|
--interactive::
|
||||||
Make a list of the commits which are about to be rebased. Let the
|
Make a list of the commits which are about to be rebased. Let the
|
||||||
user edit that list before rebasing. This mode can also be used to
|
user edit that list before rebasing. This mode can also be used to
|
||||||
split commits (see SPLITTING COMMITS below).
|
split commits (see SPLITTING COMMITS below).
|
||||||
|
|
||||||
-p, \--preserve-merges::
|
-p::
|
||||||
|
--preserve-merges::
|
||||||
Instead of ignoring merges, try to recreate them. This option
|
Instead of ignoring merges, try to recreate them. This option
|
||||||
only works in interactive mode.
|
only works in interactive mode.
|
||||||
|
|
||||||
|
@ -73,7 +73,8 @@ OPTIONS
|
|||||||
this repository (or a direct copy of it)
|
this repository (or a direct copy of it)
|
||||||
over HTTP or FTP. See gitlink:git-update-server-info[1].
|
over HTTP or FTP. See gitlink:git-update-server-info[1].
|
||||||
|
|
||||||
--window=[N], --depth=[N]::
|
--window=[N]::
|
||||||
|
--depth=[N]::
|
||||||
These two options affect how the objects contained in the pack are
|
These two options affect how the objects contained in the pack are
|
||||||
stored using delta compression. The objects are first internally
|
stored using delta compression. The objects are first internally
|
||||||
sorted by type, size and optionally names and compared against the
|
sorted by type, size and optionally names and compared against the
|
||||||
|
@ -52,7 +52,8 @@ OPTIONS
|
|||||||
The parameter given must be usable as a single, valid
|
The parameter given must be usable as a single, valid
|
||||||
object name. Otherwise barf and abort.
|
object name. Otherwise barf and abort.
|
||||||
|
|
||||||
-q, --quiet::
|
-q::
|
||||||
|
--quiet::
|
||||||
Only meaningful in `--verify` mode. Do not output an error
|
Only meaningful in `--verify` mode. Do not output an error
|
||||||
message if the first argument is not a valid object name;
|
message if the first argument is not a valid object name;
|
||||||
instead exit with non-zero status silently.
|
instead exit with non-zero status silently.
|
||||||
@ -119,16 +120,19 @@ OPTIONS
|
|||||||
--is-bare-repository::
|
--is-bare-repository::
|
||||||
When the repository is bare print "true", otherwise "false".
|
When the repository is bare print "true", otherwise "false".
|
||||||
|
|
||||||
--short, --short=number::
|
--short::
|
||||||
|
--short=number::
|
||||||
Instead of outputting the full SHA1 values of object names try to
|
Instead of outputting the full SHA1 values of object names try to
|
||||||
abbreviate them to a shorter unique name. When no length is specified
|
abbreviate them to a shorter unique name. When no length is specified
|
||||||
7 is used. The minimum length is 4.
|
7 is used. The minimum length is 4.
|
||||||
|
|
||||||
--since=datestring, --after=datestring::
|
--since=datestring::
|
||||||
|
--after=datestring::
|
||||||
Parses the date string, and outputs corresponding
|
Parses the date string, and outputs corresponding
|
||||||
--max-age= parameter for git-rev-list command.
|
--max-age= parameter for git-rev-list command.
|
||||||
|
|
||||||
--until=datestring, --before=datestring::
|
--until=datestring::
|
||||||
|
--before=datestring::
|
||||||
Parses the date string, and outputs corresponding
|
Parses the date string, and outputs corresponding
|
||||||
--min-age= parameter for git-rev-list command.
|
--min-age= parameter for git-rev-list command.
|
||||||
|
|
||||||
|
@ -22,12 +22,14 @@ OPTIONS
|
|||||||
For a more complete list of ways to spell commit names, see
|
For a more complete list of ways to spell commit names, see
|
||||||
"SPECIFYING REVISIONS" section in linkgit:git-rev-parse[1].
|
"SPECIFYING REVISIONS" section in linkgit:git-rev-parse[1].
|
||||||
|
|
||||||
-e|--edit::
|
-e::
|
||||||
|
--edit::
|
||||||
With this option, `git-revert` will let you edit the commit
|
With this option, `git-revert` will let you edit the commit
|
||||||
message prior to committing the revert. This is the default if
|
message prior to committing the revert. This is the default if
|
||||||
you run the command from a terminal.
|
you run the command from a terminal.
|
||||||
|
|
||||||
-m parent-number|--mainline parent-number::
|
-m parent-number::
|
||||||
|
--mainline parent-number::
|
||||||
Usually you cannot revert a merge because you do not know which
|
Usually you cannot revert a merge because you do not know which
|
||||||
side of the merge should be considered the mainline. This
|
side of the merge should be considered the mainline. This
|
||||||
option specifies the parent number (starting from 1) of
|
option specifies the parent number (starting from 1) of
|
||||||
@ -38,7 +40,8 @@ OPTIONS
|
|||||||
With this option, `git-revert` will not start the commit
|
With this option, `git-revert` will not start the commit
|
||||||
message editor.
|
message editor.
|
||||||
|
|
||||||
-n|--no-commit::
|
-n::
|
||||||
|
--no-commit::
|
||||||
Usually the command automatically creates a commit with
|
Usually the command automatically creates a commit with
|
||||||
a commit log message stating which commit was reverted.
|
a commit log message stating which commit was reverted.
|
||||||
This flag applies the change necessary to revert the
|
This flag applies the change necessary to revert the
|
||||||
@ -51,7 +54,8 @@ OPTIONS
|
|||||||
This is useful when reverting more than one commits'
|
This is useful when reverting more than one commits'
|
||||||
effect to your working tree in a row.
|
effect to your working tree in a row.
|
||||||
|
|
||||||
-s|--signoff::
|
-s::
|
||||||
|
--signoff::
|
||||||
Add Signed-off-by line at the end of the commit message.
|
Add Signed-off-by line at the end of the commit message.
|
||||||
|
|
||||||
|
|
||||||
|
@ -38,7 +38,8 @@ OPTIONS
|
|||||||
-f::
|
-f::
|
||||||
Override the up-to-date check.
|
Override the up-to-date check.
|
||||||
|
|
||||||
-n, \--dry-run::
|
-n::
|
||||||
|
--dry-run::
|
||||||
Don't actually remove any file(s). Instead, just show
|
Don't actually remove any file(s). Instead, just show
|
||||||
if they exist in the index and would otherwise be removed
|
if they exist in the index and would otherwise be removed
|
||||||
by the command.
|
by the command.
|
||||||
@ -52,15 +53,16 @@ OPTIONS
|
|||||||
the list of files, (useful when filenames might be mistaken
|
the list of files, (useful when filenames might be mistaken
|
||||||
for command-line options).
|
for command-line options).
|
||||||
|
|
||||||
\--cached::
|
--cached::
|
||||||
Use this option to unstage and remove paths only from the index.
|
Use this option to unstage and remove paths only from the index.
|
||||||
Working tree files, whether modified or not, will be
|
Working tree files, whether modified or not, will be
|
||||||
left alone.
|
left alone.
|
||||||
|
|
||||||
\--ignore-unmatch::
|
--ignore-unmatch::
|
||||||
Exit with a zero status even if no files matched.
|
Exit with a zero status even if no files matched.
|
||||||
|
|
||||||
-q, \--quiet::
|
-q::
|
||||||
|
--quiet::
|
||||||
git-rm normally outputs one line (in the form of an "rm" command)
|
git-rm normally outputs one line (in the form of an "rm" command)
|
||||||
for each file removed. This option suppresses that output.
|
for each file removed. This option suppresses that output.
|
||||||
|
|
||||||
|
@ -40,7 +40,8 @@ The --cc option must be repeated for each user you want on the cc list.
|
|||||||
Output of this command must be single email address per line.
|
Output of this command must be single email address per line.
|
||||||
Default is the value of 'sendemail.cccmd' configuration value.
|
Default is the value of 'sendemail.cccmd' configuration value.
|
||||||
|
|
||||||
--chain-reply-to, --no-chain-reply-to::
|
--chain-reply-to::
|
||||||
|
--no-chain-reply-to::
|
||||||
If this is set, each email will be sent as a reply to the previous
|
If this is set, each email will be sent as a reply to the previous
|
||||||
email sent. If disabled with "--no-chain-reply-to", all emails after
|
email sent. If disabled with "--no-chain-reply-to", all emails after
|
||||||
the first will be sent as replies to the first email sent. When using
|
the first will be sent as replies to the first email sent. When using
|
||||||
@ -65,7 +66,8 @@ The --cc option must be repeated for each user you want on the cc list.
|
|||||||
Only necessary if --compose is also set. If --compose
|
Only necessary if --compose is also set. If --compose
|
||||||
is not set, this will be prompted for.
|
is not set, this will be prompted for.
|
||||||
|
|
||||||
--signed-off-by-cc, --no-signed-off-by-cc::
|
--signed-off-by-cc::
|
||||||
|
--no-signed-off-by-cc::
|
||||||
If this is set, add emails found in Signed-off-by: or Cc: lines to the
|
If this is set, add emails found in Signed-off-by: or Cc: lines to the
|
||||||
cc list.
|
cc list.
|
||||||
Default is the value of 'sendemail.signedoffcc' configuration value;
|
Default is the value of 'sendemail.signedoffcc' configuration value;
|
||||||
@ -141,7 +143,8 @@ user is prompted for a password while the input is masked for privacy.
|
|||||||
Only necessary if --compose is also set. If --compose
|
Only necessary if --compose is also set. If --compose
|
||||||
is not set, this will be prompted for.
|
is not set, this will be prompted for.
|
||||||
|
|
||||||
--suppress-from, --no-suppress-from::
|
--suppress-from::
|
||||||
|
--no-suppress-from::
|
||||||
If this is set, do not add the From: address to the cc: list.
|
If this is set, do not add the From: address to the cc: list.
|
||||||
Default is the value of 'sendemail.suppressfrom' configuration value;
|
Default is the value of 'sendemail.suppressfrom' configuration value;
|
||||||
if that is unspecified, default to --no-suppress-from.
|
if that is unspecified, default to --no-suppress-from.
|
||||||
@ -157,7 +160,8 @@ user is prompted for a password while the input is masked for privacy.
|
|||||||
if that is unspecified, default to 'self' if --suppress-from is
|
if that is unspecified, default to 'self' if --suppress-from is
|
||||||
specified, as well as 'sob' if --no-signed-off-cc is specified.
|
specified, as well as 'sob' if --no-signed-off-cc is specified.
|
||||||
|
|
||||||
--thread, --no-thread::
|
--thread::
|
||||||
|
--no-thread::
|
||||||
If this is set, the In-Reply-To header will be set on each email sent.
|
If this is set, the In-Reply-To header will be set on each email sent.
|
||||||
If disabled with "--no-thread", no emails will have the In-Reply-To
|
If disabled with "--no-thread", no emails will have the In-Reply-To
|
||||||
header set.
|
header set.
|
||||||
|
@ -21,33 +21,33 @@ updates it from the current repository, sending named refs.
|
|||||||
|
|
||||||
OPTIONS
|
OPTIONS
|
||||||
-------
|
-------
|
||||||
\--receive-pack=<git-receive-pack>::
|
--receive-pack=<git-receive-pack>::
|
||||||
Path to the 'git-receive-pack' program on the remote
|
Path to the 'git-receive-pack' program on the remote
|
||||||
end. Sometimes useful when pushing to a remote
|
end. Sometimes useful when pushing to a remote
|
||||||
repository over ssh, and you do not have the program in
|
repository over ssh, and you do not have the program in
|
||||||
a directory on the default $PATH.
|
a directory on the default $PATH.
|
||||||
|
|
||||||
\--exec=<git-receive-pack>::
|
--exec=<git-receive-pack>::
|
||||||
Same as \--receive-pack=<git-receive-pack>.
|
Same as \--receive-pack=<git-receive-pack>.
|
||||||
|
|
||||||
\--all::
|
--all::
|
||||||
Instead of explicitly specifying which refs to update,
|
Instead of explicitly specifying which refs to update,
|
||||||
update all heads that locally exist.
|
update all heads that locally exist.
|
||||||
|
|
||||||
\--dry-run::
|
--dry-run::
|
||||||
Do everything except actually send the updates.
|
Do everything except actually send the updates.
|
||||||
|
|
||||||
\--force::
|
--force::
|
||||||
Usually, the command refuses to update a remote ref that
|
Usually, the command refuses to update a remote ref that
|
||||||
is not an ancestor of the local ref used to overwrite it.
|
is not an ancestor of the local ref used to overwrite it.
|
||||||
This flag disables the check. What this means is that
|
This flag disables the check. What this means is that
|
||||||
the remote repository can lose commits; use it with
|
the remote repository can lose commits; use it with
|
||||||
care.
|
care.
|
||||||
|
|
||||||
\--verbose::
|
--verbose::
|
||||||
Run verbosely.
|
Run verbosely.
|
||||||
|
|
||||||
\--thin::
|
--thin::
|
||||||
Spend extra cycles to minimize the number of objects to be sent.
|
Spend extra cycles to minimize the number of objects to be sent.
|
||||||
Use it on slower connection.
|
Use it on slower connection.
|
||||||
|
|
||||||
|
@ -22,17 +22,21 @@ Additionally, "[PATCH]" will be stripped from the commit description.
|
|||||||
OPTIONS
|
OPTIONS
|
||||||
-------
|
-------
|
||||||
|
|
||||||
-h, \--help::
|
-h::
|
||||||
|
--help::
|
||||||
Print a short usage message and exit.
|
Print a short usage message and exit.
|
||||||
|
|
||||||
-n, \--numbered::
|
-n::
|
||||||
|
--numbered::
|
||||||
Sort output according to the number of commits per author instead
|
Sort output according to the number of commits per author instead
|
||||||
of author alphabetic order.
|
of author alphabetic order.
|
||||||
|
|
||||||
-s, \--summary::
|
-s::
|
||||||
|
--summary::
|
||||||
Suppress commit description and provide a commit count summary only.
|
Suppress commit description and provide a commit count summary only.
|
||||||
|
|
||||||
-e, \--email::
|
-e::
|
||||||
|
--email::
|
||||||
Show the email address of each author.
|
Show the email address of each author.
|
||||||
|
|
||||||
-w[<width>[,<indent1>[,<indent2>]]]::
|
-w[<width>[,<indent1>[,<indent2>]]]::
|
||||||
|
@ -38,10 +38,12 @@ OPTIONS
|
|||||||
branches under $GIT_DIR/refs/heads/topic, giving
|
branches under $GIT_DIR/refs/heads/topic, giving
|
||||||
`topic/*` would show all of them.
|
`topic/*` would show all of them.
|
||||||
|
|
||||||
-r|--remotes::
|
-r::
|
||||||
|
--remotes::
|
||||||
Show the remote-tracking branches.
|
Show the remote-tracking branches.
|
||||||
|
|
||||||
-a|--all::
|
-a::
|
||||||
|
--all::
|
||||||
Show both remote-tracking branches and local branches.
|
Show both remote-tracking branches and local branches.
|
||||||
|
|
||||||
--current::
|
--current::
|
||||||
|
@ -29,22 +29,26 @@ in the `.git` directory.
|
|||||||
OPTIONS
|
OPTIONS
|
||||||
-------
|
-------
|
||||||
|
|
||||||
-h, --head::
|
-h::
|
||||||
|
--head::
|
||||||
|
|
||||||
Show the HEAD reference.
|
Show the HEAD reference.
|
||||||
|
|
||||||
--tags, --heads::
|
--tags::
|
||||||
|
--heads::
|
||||||
|
|
||||||
Limit to only "refs/heads" and "refs/tags", respectively. These
|
Limit to only "refs/heads" and "refs/tags", respectively. These
|
||||||
options are not mutually exclusive; when given both, references stored
|
options are not mutually exclusive; when given both, references stored
|
||||||
in "refs/heads" and "refs/tags" are displayed.
|
in "refs/heads" and "refs/tags" are displayed.
|
||||||
|
|
||||||
-d, --dereference::
|
-d::
|
||||||
|
--dereference::
|
||||||
|
|
||||||
Dereference tags into object IDs as well. They will be shown with "^{}"
|
Dereference tags into object IDs as well. They will be shown with "^{}"
|
||||||
appended.
|
appended.
|
||||||
|
|
||||||
-s, --hash::
|
-s::
|
||||||
|
--hash::
|
||||||
|
|
||||||
Only show the SHA1 hash, not the reference name. When also using
|
Only show the SHA1 hash, not the reference name. When also using
|
||||||
--dereference the dereferenced tag will still be shown after the SHA1.
|
--dereference the dereferenced tag will still be shown after the SHA1.
|
||||||
@ -55,17 +59,20 @@ OPTIONS
|
|||||||
Aside from returning an error code of 1, it will also print an error
|
Aside from returning an error code of 1, it will also print an error
|
||||||
message if '--quiet' was not specified.
|
message if '--quiet' was not specified.
|
||||||
|
|
||||||
--abbrev, --abbrev=len::
|
--abbrev::
|
||||||
|
--abbrev=len::
|
||||||
|
|
||||||
Abbreviate the object name. When using `--hash`, you do
|
Abbreviate the object name. When using `--hash`, you do
|
||||||
not have to say `--hash --abbrev`; `--hash=len` would do.
|
not have to say `--hash --abbrev`; `--hash=len` would do.
|
||||||
|
|
||||||
-q, --quiet::
|
-q::
|
||||||
|
--quiet::
|
||||||
|
|
||||||
Do not print any results to stdout. When combined with '--verify' this
|
Do not print any results to stdout. When combined with '--verify' this
|
||||||
can be used to silently check if a reference exists.
|
can be used to silently check if a reference exists.
|
||||||
|
|
||||||
--exclude-existing, --exclude-existing=pattern::
|
--exclude-existing::
|
||||||
|
--exclude-existing=pattern::
|
||||||
|
|
||||||
Make git-show-ref act as a filter that reads refs from stdin of the
|
Make git-show-ref act as a filter that reads refs from stdin of the
|
||||||
form "^(?:<anything>\s)?<refname>(?:\^\{\})?$" and performs the
|
form "^(?:<anything>\s)?<refname>(?:\^\{\})?$" and performs the
|
||||||
|
@ -16,7 +16,8 @@ Remove multiple empty lines, and empty lines at beginning and end.
|
|||||||
|
|
||||||
OPTIONS
|
OPTIONS
|
||||||
-------
|
-------
|
||||||
-s|--strip-comments::
|
-s::
|
||||||
|
--strip-comments::
|
||||||
In addition to empty lines, also strip lines starting with '#'.
|
In addition to empty lines, also strip lines starting with '#'.
|
||||||
|
|
||||||
<stream>::
|
<stream>::
|
||||||
|
@ -61,10 +61,12 @@ summary::
|
|||||||
|
|
||||||
OPTIONS
|
OPTIONS
|
||||||
-------
|
-------
|
||||||
-q, --quiet::
|
-q::
|
||||||
|
--quiet::
|
||||||
Only print error messages.
|
Only print error messages.
|
||||||
|
|
||||||
-b, --branch::
|
-b::
|
||||||
|
--branch::
|
||||||
Branch of repository to add as submodule.
|
Branch of repository to add as submodule.
|
||||||
|
|
||||||
--cached::
|
--cached::
|
||||||
@ -72,7 +74,8 @@ OPTIONS
|
|||||||
commands typically use the commit found in the submodule HEAD, but
|
commands typically use the commit found in the submodule HEAD, but
|
||||||
with this option, the commit stored in the index is used instead.
|
with this option, the commit stored in the index is used instead.
|
||||||
|
|
||||||
-n, --summary-limit::
|
-n::
|
||||||
|
--summary-limit::
|
||||||
This option is only valid for the summary command.
|
This option is only valid for the summary command.
|
||||||
Limit the summary size (number of commits shown in total).
|
Limit the summary size (number of commits shown in total).
|
||||||
Giving 0 will disable the summary; a negative number means unlimited
|
Giving 0 will disable the summary; a negative number means unlimited
|
||||||
|
@ -26,7 +26,8 @@ a regular file whose contents is `ref: refs/heads/master`.
|
|||||||
OPTIONS
|
OPTIONS
|
||||||
-------
|
-------
|
||||||
|
|
||||||
-q, --quiet::
|
-q::
|
||||||
|
--quiet::
|
||||||
Do not issue an error message if the <name> is not a
|
Do not issue an error message if the <name> is not a
|
||||||
symbolic ref but a detached HEAD; instead exit with
|
symbolic ref but a detached HEAD; instead exit with
|
||||||
non-zero status silently.
|
non-zero status silently.
|
||||||
|
@ -76,7 +76,8 @@ OPTIONS
|
|||||||
--chmod=(+|-)x::
|
--chmod=(+|-)x::
|
||||||
Set the execute permissions on the updated files.
|
Set the execute permissions on the updated files.
|
||||||
|
|
||||||
--assume-unchanged, --no-assume-unchanged::
|
--assume-unchanged::
|
||||||
|
--no-assume-unchanged::
|
||||||
When these flags are specified, the object name recorded
|
When these flags are specified, the object name recorded
|
||||||
for the paths are not updated. Instead, these options
|
for the paths are not updated. Instead, these options
|
||||||
sets and unsets the "assume unchanged" bit for the
|
sets and unsets the "assume unchanged" bit for the
|
||||||
@ -88,7 +89,8 @@ OPTIONS
|
|||||||
filesystem that has very slow lstat(2) system call
|
filesystem that has very slow lstat(2) system call
|
||||||
(e.g. cifs).
|
(e.g. cifs).
|
||||||
|
|
||||||
--again, -g::
|
-g::
|
||||||
|
--again::
|
||||||
Runs `git-update-index` itself on the paths whose index
|
Runs `git-update-index` itself on the paths whose index
|
||||||
entries are different from those from the `HEAD` commit.
|
entries are different from those from the `HEAD` commit.
|
||||||
|
|
||||||
|
@ -22,7 +22,8 @@ generates such auxiliary files.
|
|||||||
OPTIONS
|
OPTIONS
|
||||||
-------
|
-------
|
||||||
|
|
||||||
-f|--force::
|
-f::
|
||||||
|
--force::
|
||||||
Update the info files from scratch.
|
Update the info files from scratch.
|
||||||
|
|
||||||
|
|
||||||
|
@ -24,10 +24,10 @@ repository. For push operations, see 'git-send-pack'.
|
|||||||
OPTIONS
|
OPTIONS
|
||||||
-------
|
-------
|
||||||
|
|
||||||
\--strict::
|
--strict::
|
||||||
Do not try <directory>/.git/ if <directory> is no git directory.
|
Do not try <directory>/.git/ if <directory> is no git directory.
|
||||||
|
|
||||||
\--timeout=<n>::
|
--timeout=<n>::
|
||||||
Interrupt transfer after <n> seconds of inactivity.
|
Interrupt transfer after <n> seconds of inactivity.
|
||||||
|
|
||||||
<directory>::
|
<directory>::
|
||||||
|
@ -31,14 +31,17 @@ Custom commands may also be specified.
|
|||||||
|
|
||||||
OPTIONS
|
OPTIONS
|
||||||
-------
|
-------
|
||||||
-b BROWSER|--browser=BROWSER::
|
-b BROWSER::
|
||||||
|
--browser=BROWSER::
|
||||||
Use the specified BROWSER. It must be in the list of supported
|
Use the specified BROWSER. It must be in the list of supported
|
||||||
browsers.
|
browsers.
|
||||||
|
|
||||||
-t BROWSER|--tool=BROWSER::
|
-t BROWSER::
|
||||||
|
--tool=BROWSER::
|
||||||
Same as above.
|
Same as above.
|
||||||
|
|
||||||
-c CONF.VAR|--config=CONF.VAR::
|
-c CONF.VAR::
|
||||||
|
--config=CONF.VAR::
|
||||||
CONF.VAR is looked up in the git config files. If it's set,
|
CONF.VAR is looked up in the git config files. If it's set,
|
||||||
then its value specify the browser that should be used.
|
then its value specify the browser that should be used.
|
||||||
|
|
||||||
|
@ -138,7 +138,8 @@ help ...'.
|
|||||||
environment variable. If no path is given 'git' will print
|
environment variable. If no path is given 'git' will print
|
||||||
the current setting and then exit.
|
the current setting and then exit.
|
||||||
|
|
||||||
-p|--paginate::
|
-p::
|
||||||
|
--paginate::
|
||||||
Pipe all output into 'less' (or if set, $PAGER).
|
Pipe all output into 'less' (or if set, $PAGER).
|
||||||
|
|
||||||
--no-pager::
|
--no-pager::
|
||||||
|
@ -25,7 +25,8 @@ To control which revisions to shown, the command takes options applicable to
|
|||||||
the linkgit:git-rev-list[1] command. This manual page describes only the most
|
the linkgit:git-rev-list[1] command. This manual page describes only the most
|
||||||
frequently used options.
|
frequently used options.
|
||||||
|
|
||||||
-n <number>, --max-count=<number>::
|
-n <number>::
|
||||||
|
--max-count=<number>::
|
||||||
|
|
||||||
Limits the number of commits to show.
|
Limits the number of commits to show.
|
||||||
|
|
||||||
|
@ -2,10 +2,12 @@
|
|||||||
Show a diffstat at the end of the merge. The diffstat is also
|
Show a diffstat at the end of the merge. The diffstat is also
|
||||||
controlled by the configuration option merge.stat.
|
controlled by the configuration option merge.stat.
|
||||||
|
|
||||||
-n, \--no-stat::
|
-n::
|
||||||
|
--no-stat::
|
||||||
Do not show diffstat at the end of the merge.
|
Do not show diffstat at the end of the merge.
|
||||||
|
|
||||||
--summary, \--no-summary::
|
--summary::
|
||||||
|
--no-summary::
|
||||||
Synonyms to --stat and --no-stat; these are deprecated and will be
|
Synonyms to --stat and --no-stat; these are deprecated and will be
|
||||||
removed in the future.
|
removed in the future.
|
||||||
|
|
||||||
@ -49,7 +51,8 @@
|
|||||||
a fast-forward, only update the branch pointer. This is
|
a fast-forward, only update the branch pointer. This is
|
||||||
the default behavior of git-merge.
|
the default behavior of git-merge.
|
||||||
|
|
||||||
-s <strategy>, \--strategy=<strategy>::
|
-s <strategy>::
|
||||||
|
--strategy=<strategy>::
|
||||||
Use the given merge strategy; can be supplied more than
|
Use the given merge strategy; can be supplied more than
|
||||||
once to specify them in the order they should be tried.
|
once to specify them in the order they should be tried.
|
||||||
If there is no `-s` option, a built-in list of strategies
|
If there is no `-s` option, a built-in list of strategies
|
||||||
|
@ -129,7 +129,8 @@ limiting may be applied.
|
|||||||
|
|
||||||
--
|
--
|
||||||
|
|
||||||
-n 'number', --max-count='number'::
|
-n 'number'::
|
||||||
|
--max-count='number'::
|
||||||
|
|
||||||
Limit the number of commits output.
|
Limit the number of commits output.
|
||||||
|
|
||||||
@ -137,21 +138,25 @@ limiting may be applied.
|
|||||||
|
|
||||||
Skip 'number' commits before starting to show the commit output.
|
Skip 'number' commits before starting to show the commit output.
|
||||||
|
|
||||||
--since='date', --after='date'::
|
--since='date'::
|
||||||
|
--after='date'::
|
||||||
|
|
||||||
Show commits more recent than a specific date.
|
Show commits more recent than a specific date.
|
||||||
|
|
||||||
--until='date', --before='date'::
|
--until='date'::
|
||||||
|
--before='date'::
|
||||||
|
|
||||||
Show commits older than a specific date.
|
Show commits older than a specific date.
|
||||||
|
|
||||||
ifdef::git-rev-list[]
|
ifdef::git-rev-list[]
|
||||||
--max-age='timestamp', --min-age='timestamp'::
|
--max-age='timestamp'::
|
||||||
|
--min-age='timestamp'::
|
||||||
|
|
||||||
Limit the commits output to specified time range.
|
Limit the commits output to specified time range.
|
||||||
endif::git-rev-list[]
|
endif::git-rev-list[]
|
||||||
|
|
||||||
--author='pattern', --committer='pattern'::
|
--author='pattern'::
|
||||||
|
--committer='pattern'::
|
||||||
|
|
||||||
Limit the commits output to ones with author/committer
|
Limit the commits output to ones with author/committer
|
||||||
header lines that match the specified pattern (regular expression).
|
header lines that match the specified pattern (regular expression).
|
||||||
@ -161,16 +166,19 @@ endif::git-rev-list[]
|
|||||||
Limit the commits output to ones with log message that
|
Limit the commits output to ones with log message that
|
||||||
matches the specified pattern (regular expression).
|
matches the specified pattern (regular expression).
|
||||||
|
|
||||||
-i, --regexp-ignore-case::
|
-i::
|
||||||
|
--regexp-ignore-case::
|
||||||
|
|
||||||
Match the regexp limiting patterns without regard to letters case.
|
Match the regexp limiting patterns without regard to letters case.
|
||||||
|
|
||||||
-E, --extended-regexp::
|
-E::
|
||||||
|
--extended-regexp::
|
||||||
|
|
||||||
Consider the limiting patterns to be extended regular expressions
|
Consider the limiting patterns to be extended regular expressions
|
||||||
instead of the default basic regular expressions.
|
instead of the default basic regular expressions.
|
||||||
|
|
||||||
-F, --fixed-strings::
|
-F::
|
||||||
|
--fixed-strings::
|
||||||
|
|
||||||
Consider the limiting patterns to be fixed strings (don't interpret
|
Consider the limiting patterns to be fixed strings (don't interpret
|
||||||
pattern as a regular expression).
|
pattern as a regular expression).
|
||||||
@ -239,7 +247,8 @@ from the other branch (for example, "3rd on b" may be cherry-picked
|
|||||||
from branch A). With this option, such pairs of commits are
|
from branch A). With this option, such pairs of commits are
|
||||||
excluded from the output.
|
excluded from the output.
|
||||||
|
|
||||||
-g, --walk-reflogs::
|
-g::
|
||||||
|
--walk-reflogs::
|
||||||
|
|
||||||
Instead of walking the commit ancestry chain, walk
|
Instead of walking the commit ancestry chain, walk
|
||||||
reflog entries from the most recent one to older ones.
|
reflog entries from the most recent one to older ones.
|
||||||
@ -268,7 +277,8 @@ See also linkgit:git-reflog[1].
|
|||||||
Output uninteresting commits at the boundary, which are usually
|
Output uninteresting commits at the boundary, which are usually
|
||||||
not shown.
|
not shown.
|
||||||
|
|
||||||
--dense, --sparse::
|
--dense::
|
||||||
|
--sparse::
|
||||||
|
|
||||||
When optional paths are given, the default behaviour ('--dense') is to
|
When optional paths are given, the default behaviour ('--dense') is to
|
||||||
only output commits that changes at least one of them, and also ignore
|
only output commits that changes at least one of them, and also ignore
|
||||||
|
Loading…
Reference in New Issue
Block a user