Skip to content

Latest commit

 

History

History

git-debug

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

git debug

Help debugging builtins

Git alias:

debug = !GIT_PAGER= gdb --args git

Example:

git debug

When debugging builtins, we like to use gdb to analyze the runtime state.

However, we have to disable the pager, and often we have to call the program with arguments.

If the program to debug is a builtin, then we use this alias.