Skip to content

Instantly share code, notes, and snippets.

@dylanburkey
Created May 29, 2019 21:46
Show Gist options
  • Save dylanburkey/acbb3475b5a06151c3a880923c8dbbf0 to your computer and use it in GitHub Desktop.
Save dylanburkey/acbb3475b5a06151c3a880923c8dbbf0 to your computer and use it in GitHub Desktop.
Base gitconfig file
[alias]
# Show verbose output about tags, branches or remotes
tags = tag -l
branches = branch -a
remotes = remote -v
# Pretty log output
hist = log --graph --pretty=format:'%Cred%h%Creset %s%C(yellow)%d%Creset %Cgreen(%cr)%Creset [%an]' --abbrev-commit --date=relative
[color]
# Use colors in Git commands that are capable of colored output when
# outputting to the terminal. (This is the default setting in Git ≥ 1.8.4.)
ui = 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment