Parcourir la source

fix(gitconfig): Update the gol alias

Ref:
  https://opensource.com/article/20/11/git-aliases
  https://git.wiki.kernel.org/index.php/Aliases

Signed-off-by: Jeremy MAURO <jeremy.mauro@gmail.com>
Jeremy MAURO il y a 2 ans
Parent
commit
df4419a483
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      cookbooks/workstation/attributes/_git.rb

+ 1 - 1
cookbooks/workstation/attributes/_git.rb

@@ -10,7 +10,7 @@ default['workstation']['_git']['scope']['system'] = {
   'rebase.stat': true,
   'help.autocorrect': '10',
   'commit.verbose': true,
-  'alias.gol': %Q{log --graph --pretty=format:'%C(yellow)%h%C(green)%d%Creset %s %C(white) %an, %ar%Creset'},
+  'alias.gol': %Q{log --graph --pretty=format:'%C(yellow)%h%Creset%C(red)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative},
   'alias.commit': '--signoff',
   'alias.com': 'commit --signoff',
   'alias.coma': 'commit --signoff --amend',