# ------------------------------------------------------------------------ # ~/.gitconfig - Git configuration [user] # Set these values according to your information name = CHANGEME email = CHANGEME@example.com [core] editor = vim whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol excludesfile = ~/.gitignore_global autocrlf = input [color] ui = auto [color "branch"] current = yellow bold local = green bold remote = cyan bold [color "diff"] meta = yellow bold frag = magenta bold old = red bold new = green bold whitespace = red reverse [color "status"] added = green bold changed = yellow bold untracked = red bold [diff] tool = vimdiff renames = copies mnemonicprefix = true [push] default = simple [alias] st = status ci = commit co = checkout br = branch unstage = reset HEAD -- last = log -1 HEAD visual = !gitk lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit [credential] helper = cache --timeout=3600