2013-05-17

set git output non-interactive, set git date iso format

How to set git output non-interactive?

use git --no-pager, or, pipe it to cat, like this:

git log | cat

How to make git display date in ISO format?

Use --date=iso.

git log --date=iso > z

See also: git Tutorial