Skip to content

Instantly share code, notes, and snippets.

@beigna
Last active September 12, 2019 19:29
Show Gist options
  • Save beigna/025b524426b466e8118d85f54ef6f49b to your computer and use it in GitHub Desktop.
Save beigna/025b524426b466e8118d85f54ef6f49b to your computer and use it in GitHub Desktop.
[core]
editor = vim
[alias]
hist = log --pretty=format:\"%C(yellow)%h%Creset %C(cyan)%ad%Creset %s [%Cgreen%an%Creset]\" --graph --date=short
@acangiani
Copy link

hermoso!

@acangiani
Copy link

le agregué el branch name

log --pretty=format:\"%C(yellow)%h%Creset %C(cyan)%ad%Creset %s [%Cgreen%an%Creset]\" --graph --date=short

Screenshot from 2019-09-11 09-11-57

@beigna
Copy link
Author

beigna commented Sep 11, 2019

¿Soy yo o el comando que pegaste es el original?

log --pretty=format:\"%C(yellow)%h%Creset %C(cyan)%ad%Creset %s [%Cgreen%an%Creset]\" --graph --date=short

@acangiani
Copy link

ja! tenes toda la razón!

  8     hist = log --pretty=format:\"%C(yellow)%h%Creset %C(red)%d%Creset %C(cyan)%ad%Creset %s [%Cgreen%an%Creset]\" --graph --date=short

este es el agregado:

%C(red)%d%Creset

😂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment