augustin
augustin

Reputation: 14729

Is there a way to configure the output of git commit?

I checked the man page for git-commit and search the webs but couldnt' find any reference to configuring the output of git commit.

By default, the output of of git commit looks like this:

[master 5d50e46]  #Bug#123 commit message"
53 files changed, 267 insertions(+), 173 deletions(-)

Is there an (easy or otherwise) way to override this output and make it either terser or more detailed?

Upvotes: 2

Views: 106

Answers (1)

VonC
VonC

Reputation: 1324258

make it either terser or more detailed?

On the terser side, you have git commit --quiet (Suppress commit summary message.)

On the more detailed side, you would have to write your own wrapper for git commit in order to generate the output you want.
(as commented below, the -v option is about the editor message, not the output itself)

Upvotes: 2

Related Questions