Skip to content

Instantly share code, notes, and snippets.

@rikkarth
Last active December 9, 2025 01:30
Show Gist options
  • Select an option

  • Save rikkarth/ad4b4811a8f658011e67e395da7f2c14 to your computer and use it in GitHub Desktop.

Select an option

Save rikkarth/ad4b4811a8f658011e67e395da7f2c14 to your computer and use it in GitHub Desktop.
git-log-beautify
git config --global alias.sla 'log --color --graph --pretty=format:"%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset" --abbrev-commit --branches'
@rikkarth

rikkarth commented Dec 9, 2025 •

Copy link
Copy Markdown
Author

this command will create an alias at 'git sla' which will print a very simple and beautiful log to the terminal

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