2020-04-16 23:18:04 +02:00
|
|
|
git-bugreport(1)
|
|
|
|
================
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
git-bugreport - Collect information for user to file a bug report
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
|
|
|
[verse]
|
|
|
|
'git bugreport' [(-o | --output-directory) <path>] [(-s | --suffix) <format>]
|
2022-08-12 22:10:17 +02:00
|
|
|
[--diagnose[=<mode>]]
|
2020-04-16 23:18:04 +02:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
Captures information about the user's machine, Git client, and repository state,
|
|
|
|
as well as a form requesting information about the behavior the user observed,
|
|
|
|
into a single text file which the user can then share, for example to the Git
|
|
|
|
mailing list, in order to report an observed bug.
|
|
|
|
|
|
|
|
The following information is requested from the user:
|
|
|
|
|
|
|
|
- Reproduction steps
|
|
|
|
- Expected behavior
|
|
|
|
- Actual behavior
|
|
|
|
|
2020-04-16 23:18:05 +02:00
|
|
|
The following information is captured automatically:
|
|
|
|
|
|
|
|
- 'git version --build-options'
|
2020-04-16 23:18:06 +02:00
|
|
|
- uname sysname, release, version, and machine strings
|
2020-04-16 23:18:07 +02:00
|
|
|
- Compiler-specific info string
|
2020-05-08 02:53:57 +02:00
|
|
|
- A list of enabled hooks
|
2020-05-13 01:42:13 +02:00
|
|
|
- $SHELL
|
2020-04-16 23:18:05 +02:00
|
|
|
|
2022-08-12 22:10:17 +02:00
|
|
|
Additional information may be gathered into a separate zip archive using the
|
|
|
|
`--diagnose` option, and can be attached alongside the bugreport document to
|
|
|
|
provide additional context to readers.
|
|
|
|
|
2020-04-16 23:18:04 +02:00
|
|
|
This tool is invoked via the typical Git setup process, which means that in some
|
|
|
|
cases, it might not be able to launch - for example, if a relevant config file
|
|
|
|
is unreadable. In this kind of scenario, it may be helpful to manually gather
|
|
|
|
the kind of information listed above when manually asking for help.
|
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
|
|
|
-o <path>::
|
|
|
|
--output-directory <path>::
|
2021-09-03 13:59:34 +02:00
|
|
|
Place the resulting bug report file in `<path>` instead of the current
|
|
|
|
directory.
|
2020-04-16 23:18:04 +02:00
|
|
|
|
|
|
|
-s <format>::
|
|
|
|
--suffix <format>::
|
|
|
|
Specify an alternate suffix for the bugreport name, to create a file
|
|
|
|
named 'git-bugreport-<formatted suffix>'. This should take the form of a
|
2020-05-18 21:37:36 +02:00
|
|
|
strftime(3) format string; the current local time will be used.
|
2020-04-16 23:18:04 +02:00
|
|
|
|
2022-08-12 22:10:17 +02:00
|
|
|
--no-diagnose::
|
|
|
|
--diagnose[=<mode>]::
|
|
|
|
Create a zip archive of supplemental information about the user's
|
|
|
|
machine, Git client, and repository state. The archive is written to the
|
|
|
|
same output directory as the bug report and is named
|
|
|
|
'git-diagnostics-<formatted suffix>'.
|
|
|
|
+
|
|
|
|
Without `mode` specified, the diagnostic archive will contain the default set of
|
|
|
|
statistics reported by `git diagnose`. An optional `mode` value may be specified
|
|
|
|
to change which information is included in the archive. See
|
|
|
|
linkgit:git-diagnose[1] for the list of valid values for `mode` and details
|
|
|
|
about their usage.
|
|
|
|
|
2020-04-16 23:18:04 +02:00
|
|
|
GIT
|
|
|
|
---
|
|
|
|
Part of the linkgit:git[1] suite
|