git bugreport

Setup & Creating Projects

Collect information for a Git bug report


The 'git bugreport' command writes a text file with a template for describing a problem, followed by details about your Git build, operating system and enabled hooks. Attach it when reporting a bug to the Git mailing list.

Synopsis

git bugreport [-o <path>] [-s <format>] [--diagnose]
[ ] optional| or<arg> placeholder... repeatable--flag option

Examples

Create a report

git bugreport

Writes git-bugreport-<date>.txt.


With diagnostics

git bugreport --diagnose

Also zips repository diagnostics.

Workflow Examples

1
git bugreport

Fill in the template

2
Send it to git@vger.kernel.org

The Git mailing list

Troubleshooting

Not sure it is a Git bug

Cause: Many issues are configuration

Try git -c <setting>=… or a fresh repository first

Tips & Pitfalls

Best Practices

  • ✓Describe what you expected and what happened instead.

FAQ

A:

No, only system and Git build information.