Reputation: 7409
My current git log will show relative date information,
How to disable it ?
603f78e - Merge branch 'feature/add_category_collection_generators' into develop (2 days ago)
ee235d6 - add category collection models (2 days ago)
Upvotes: 2
Views: 99
Reputation: 51
You can just reformat output with just short hash and subject
git log --oneline --pretty="format:%h - %s"
Upvotes: 0
Reputation: 1323115
You can check if changing the setting log.date changes your log date display:
log.date
Set the default date-time mode for the log command.
Setting a value forlog.date
is similar to usinggit log's --date
option.Possible values are
relative
,local
,default
,iso
,rfc
, andshort
Try for example:
git config log.date short
The goal, of course, is to keep using git log
, not git log
with options, and a git log
alias.
Upvotes: 1