2020-04-17 05:18:04 +08: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>]
|
|
|
|
|
|
|
|
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-17 05:18:05 +08:00
|
|
|
The following information is captured automatically:
|
|
|
|
|
|
|
|
- 'git version --build-options'
|
2020-04-17 05:18:06 +08:00
|
|
|
- uname sysname, release, version, and machine strings
|
2020-04-17 05:18:07 +08:00
|
|
|
- Compiler-specific info string
|
2020-05-08 08:53:57 +08:00
|
|
|
- A list of enabled hooks
|
2020-05-13 07:42:13 +08:00
|
|
|
- $SHELL
|
2020-04-17 05:18:05 +08:00
|
|
|
|
2020-04-17 05:18:04 +08: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>::
|
|
|
|
Place the resulting bug report file in `<path>` instead of the root of
|
|
|
|
the Git repository.
|
|
|
|
|
|
|
|
-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-19 03:37:36 +08:00
|
|
|
strftime(3) format string; the current local time will be used.
|
2020-04-17 05:18:04 +08:00
|
|
|
|
|
|
|
GIT
|
|
|
|
---
|
|
|
|
Part of the linkgit:git[1] suite
|