Manual Page Search Parameters

GITMAN(1) General Commands Manual GITMAN(1)

gitmanExport manpages from git repositories

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

The gitman utility writes manpages found in the given git repositories (or GIT_DIR if none are specified) to the prefix directory, then updates it's mandoc.db with makewhatis(8).

The options are described below:

dir
Set the export directory for manpages. Defaults to the contents of /etc/gitman, or the current working directory if it doesn't exist.

/etc/gitman
The default export directory if -d isn't specified.

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