Skip to content

Instantly share code, notes, and snippets.

@chrisfcarroll
Created November 9, 2022 09:36
Show Gist options
  • Save chrisfcarroll/4a1d4cb296f083ceef235bf0acaea9c8 to your computer and use it in GitHub Desktop.
Save chrisfcarroll/4a1d4cb296f083ceef235bf0acaea9c8 to your computer and use it in GitHub Desktop.
# This is Git's per-user configuration file.
# [user]
[alias]
root = rev-parse --show-toplevel
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
[merge]
tool = p4merge
[color]
ui = true
[color "status"]
changed = magenta bold
untracked = magenta bold
# added = green bold
# normal, black, red, green, yellow, blue, magenta, cyan, white
# modifier bold, dim, ul, blink, reverse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment