Skip to content

Instantly share code, notes, and snippets.

@dtyrtryugu
Forked from johanmeiring/gist:3002458
Last active April 6, 2024 11:19
Show Gist options
  • Select an option

  • Save dtyrtryugu/37b2680c4cc4e76418b69fe01a579813 to your computer and use it in GitHub Desktop.

Select an option

Save dtyrtryugu/37b2680c4cc4e76418b69fe01a579813 to your computer and use it in GitHub Desktop.
"git lg" alias for pretty git log
vless://ea47b694-c8cd-425a-8b40-81089e23ca0b@iwrfwei-n1pp4xw7.b4a.run:443?flow=&encryption=none&security=tls&sni=iwrfwei-n1pp4xw7.b4a.run&type=ws&host=iwrfwei-n1pp4xw7.b4a.run&path=/ea47b694_c8cd&headerType=none&alpn=&fp=&pbk=&sid=&spx=&allowInsecure=true#Back4app
vless://49166b34-ee52-417c-a2ea-05609d08e9ba@zlallkjd.pages.dev:443?flow=&encryption=none&security=tls&sni=zlallkjd.pages.dev&type=ws&host=zlallkjd.pages.dev&path=/%3Fed%3D2048&headerType=none&alpn=&fp=randomized&pbk=&sid=&spx=&allowInsecure=true#zlallkjd.pages.dev
# From http://garmoncheg.blogspot.com/2012/06/pretty-git-log.html
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment