Manual Page Search Parameters

GITMAN(1) General Commands Manual GITMAN(1)

gitmanExport manpages from git repositories

gitman [-d dir] [repo ...]

The gitman utility exports manpages from git repositories and updates the mandoc.db. If the GIT_DIR is defined and no repositories were provided as arguments, gitman exports manpages from GIT_DIR.

The options are described below:

dir
Set the export directory for manpages. Defaults to the current working directory.

The gitman utility exits 0 on success, and >0 if an error occurs.

Write the manpages from the repositories under ~/git/ to /var/www/man/main along with a makewhatis(8) database:

$ gitman -d /var/www/man/main ~/git/*

git-ls-tree(1), git-show(1), makewhatis(8)

Jacob R. Edwards <jacob@jacobedwards.org>

October 26, 2025 jacob