phpman > man > git-bugreport(1)

Markdown | JSON | MCP    

TLDR: git-bugreport (tldr-pages)

Capture debug information from the system and user, generating a text file to aid in the reporting of a bug in Git.

  • Create a new bug report file in the current directory
    git bugreport
  • Create a new bug report file in the specified directory, creating it if it does not exist
    git bugreport {{-o|--output-directory}} {{path/to/directory}}
  • Create a new bug report file with the specified filename suffix in `strftime` format
    git bugreport {{-s|--suffix}} {{%m%d%y}}
GIT-BUGREPORT(1)                             Git Manual                             GIT-BUGREPORT(1)



NAME
       git-bugreport - Collect information for user to file a bug report

SYNOPSIS
       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

       The following information is captured automatically:

       •   git version --build-options

       •   uname sysname, release, version, and machine strings

       •   Compiler-specific info string

       •   A list of enabled hooks

       •   $SHELL

       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 current directory.

       -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 strftime(3) format
           string; the current local time will be used.

GIT
       Part of the git(1) suite



Git 2.34.1                                   02/26/2026                             GIT-BUGREPORT(1)

Generated by phpman local Author: Che Dong Under GNU General Public License
2026-06-15 04:36 @216.73.216.200
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!