git: timezone and timestamp format

If you ask about git log, you can try and select most correct form from:

git log --date={relative,local,default,iso,rfc}

--date=local seems to be the best candidate.

To make this permanent, use git config --global log.date local.

Leave a Comment