Skip to content

Instantly share code, notes, and snippets.

@jessesquires
Last active December 3, 2023 07:08
Show Gist options
  • Save jessesquires/d0f3fc99be8208394a450ce86443ce7d to your computer and use it in GitHub Desktop.
Save jessesquires/d0f3fc99be8208394a450ce86443ce7d to your computer and use it in GitHub Desktop.
git "smartlog" / "pretty log"
# blog post
#
# https://www.jessesquires.com/blog/customizing-git-log/
git log --graph --pretty=format:'commit: %C(bold red)%h%Creset %C(red)<%H>%Creset %C(bold magenta)%d %Creset%ndate: %C(bold yellow)%cd %Creset%C(yellow)%cr%Creset%nauthor: %C(bold blue)%an%Creset %C(blue)<%ae>%Creset%n%C(cyan)%s%n%Creset'
@jd-nuva
Copy link

jd-nuva commented Dec 3, 2023

thanks and this is what I search for every time i setup a new devserver

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