Skip to content

Instantly share code, notes, and snippets.

@zero-tuesday
Last active January 23, 2023 13:42
Show Gist options
  • Save zero-tuesday/f032f40e79280267972a3de4ed04a69c to your computer and use it in GitHub Desktop.
Save zero-tuesday/f032f40e79280267972a3de4ed04a69c to your computer and use it in GitHub Desktop.
git log config
[color]
ui = true
[log]
date = auto:human
[format]
pretty = format:๐Ÿท %C(auto, bold yellow) %h ๐Ÿ“… %<(16,trunc)%C(auto, bold green)%ad ๐Ÿ’ƒ %<(16,trunc)%C(auto, bold red)%aN ๐Ÿ“จ %<(70,mtrunc)%C(auto, bold blue)%s
@zero-tuesday
Copy link
Author

It will look like this but in color.

๐Ÿ”ฎ [~]: git log                                                                                                       
๐Ÿท  8be54ef  ๐Ÿ“… Thu Sep 24 04:40  ๐Ÿ’ƒ Moe Uddin         ๐Ÿ“จ gitignore: ignore binaries and IDE files                              
๐Ÿท  e835e70  ๐Ÿ“… Thu Sep 24 02:04  ๐Ÿ’ƒ Moe Uddin         ๐Ÿ“จ initial commit 

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