Skip to content

Instantly share code, notes, and snippets.

@frozar
Created May 18, 2024 05:00
Show Gist options
  • Save frozar/2ed7635498a21e48c6ab6a46e1b81409 to your computer and use it in GitHub Desktop.
Save frozar/2ed7635498a21e48c6ab6a46e1b81409 to your computer and use it in GitHub Desktop.
Example of .gitconfig
[diff]
tool = meld
[alias]
lg = "log --graph --pretty=format:'%C(#ff0000)%h -%C(#00ffff bold)%d%Creset %C(#eeeeff)%s %C(#00dd22)(%cr) %C(bold blue)<%an>' --abbrev-commit --date=relative"
[credential]
helper = cache --timeout=86400
[init]
defaultBranch = main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment