1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

git: log/show dates in ISO8601 in UTC

Consistency is key. Timezones are the devil.

Signed-off-by: Joe Groocock <me@frebib.net>
This commit is contained in:
Joe Groocock 2021-05-25 09:58:32 +00:00
parent 8f14e0d757
commit 24dfc13c3f
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86
2 changed files with 3 additions and 0 deletions

View File

@ -122,6 +122,7 @@ alias kl='killall -s 9'
alias chx='chmod +x'
# Git Aliases
alias git='TZ=UTC git'
alias g=git
alias ginit='git init'
alias gignore='$EDITOR .gitignore'

View File

@ -21,6 +21,8 @@
prune = true
[rebase]
autoStash = true
[log]
date = iso8601-local
[format]
pretty = format:%h %Cblue%ad%Creset %ae %Cgreen%s%Creset
[alias]