2 .\" Title: git-bugreport
3 .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
4 .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
7 .\" Source: Git 2.45.1.313.g3a57aa566a
10 .TH "GIT\-BUGREPORT" "1" "2024\-05\-28" "Git 2\&.45\&.1\&.313\&.g3a57aa" "Git Manual"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
25 .\" disable justification (adjust text to left margin only)
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
31 git-bugreport \- Collect information for user to file a bug report
35 \fIgit bugreport\fR [(\-o | \-\-output\-directory) <path>]
36 [(\-s | \-\-suffix) <format> | \-\-no\-suffix]
37 [\-\-diagnose[=<mode>]]
42 Collects information about the user\(cqs machine, Git client, and repository state, in addition to a form requesting information about the behavior the user observed, and stores it in a single text file which the user can then share, for example to the Git mailing list, in order to report an observed bug\&.
44 The following information is requested from the user:
79 The following information is captured automatically:
89 \fIgit version \-\-build\-options\fR
100 uname sysname, release, version, and machine strings
111 Compiler\-specific info string
122 A list of enabled hooks
136 Additional information may be gathered into a separate zip archive using the \fB\-\-diagnose\fR option, and can be attached alongside the bugreport document to provide additional context to readers\&.
138 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\&.
141 \-o <path>, \-\-output\-directory <path>
143 Place the resulting bug report file in
145 instead of the current directory\&.
148 \-s <format>, \-\-suffix <format>, \-\-no\-suffix
150 Specify an alternate suffix for the bugreport name, to create a file named
151 \fIgit\-bugreport\-<formatted\-suffix>\fR\&. This should take the form of a strftime(3) format string; the current local time will be used\&.
153 disables the suffix and the file is just named
155 without any disambiguation measure\&.
158 \-\-no\-diagnose, \-\-diagnose[=<mode>]
160 Create a zip archive of supplemental information about the user\(cqs machine, Git client, and repository state\&. The archive is written to the same output directory as the bug report and is named
161 \fIgit\-diagnostics\-<formatted\-suffix>\fR\&.
165 specified, the diagnostic archive will contain the default set of statistics reported by
166 \fBgit diagnose\fR\&. An optional
168 value may be specified to change which information is included in the archive\&. See
169 \fBgit-diagnose\fR(1)
170 for the list of valid values for
172 and details about their usage\&.
176 Part of the \fBgit\fR(1) suite