Skip to content
Edit this page

git tpl man

Generate the manual page from the CLI's command definition.

git tpl man [--out-dir PATH]

Without --out-dir, write troff to stdout. With --out-dir, create the directory and write git-tpl.1 plus a page for each visible subcommand into it. Stdout is not wrapped in JSON, including under --json.

git tpl man --out-dir ~/.local/share/man/man1

See installing the man page for Git's help integration.