NAME

gitchangelog.sh - portable script generating a GNU-like changelog from a Git log

SYNOPSIS

gitchangelog.sh [options] [--] [ {-|outfile} [-|git_log_args] ]

OPTIONS

--tags

Prepend changelog entries by tag names in brackets.

--tag-pattern sed_BRE

Tags to consider for marking entries.

--merge

Prepend changelog entries by merge marks.

--title-only

Only keep the title of a commit (as a star item).

--gitbody

Do not reformat the commit message, only reindent it.

--no-blankline

Do not separate the title from the rest by a blank line.

--version
--help, --helpm

DESCRIPTION

Each commit message is made into a changelog entry. Each paragraph of a Git commit message body is made into a star item of the changelog. The message title is kept on a separate line. Text lines are never broken nor joined.

By default git is run to get the log, with the required options; if a dash is given in place of additional git_log_args, then the log is read from the standard input.

EXAMPLES

 $ ./gitchangelog.sh ChangeLog
 $ ./gitchangelog.sh --tags -- - --date-order |
   sed 's/^\[release/^L\[release/' > ChangeLog

AUTHOR

gitchangelog.sh was written by G.raud Meyer.

SEE ALSO

git-log(1)