Skip to content

debuggitdir: add new command

This is useful for interacting with the Git repository directly, either from shell scripts, the terminal, or perhaps an alias like this:

[alias]
git=!GIT_DIR=$(hg debuggitdir) git "$@"

…and with that, you can easily access features not offered by Dulwich such as hg git gc.

Merge request reports