Skip to content

Instantly share code, notes, and snippets.

@SingingBush
Last active September 13, 2017 08:47
Show Gist options
  • Save SingingBush/f339c5f0772a32c99e3c3ffad6265752 to your computer and use it in GitHub Desktop.
Save SingingBush/f339c5f0772a32c99e3c3ffad6265752 to your computer and use it in GitHub Desktop.
The changes I like to use in my global git config
[color]
branch = auto
diff = auto
status = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[alias]
lg = log --graph --pretty=format:'%C(auto)%h -%d %C(white)%<(70,trunc)%s %Cgreen(%cr) %C(bold magenta)<%an>%Creset' --abbrev-commit --max-count=20
[fetch]
prune = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment