[include] path = ~/.gitconfig.platform path = ~/.gitconfig.private [merge] summary = true tool = vimdiff [core] excludesfile = ~/.gitignore hookspath = ~/.git_hooks preloadindex = true fscache = true [push] default = upstream [diff] algorithm = patience [color] diff = auto status = auto branch = auto interactive = auto ui = true pager = true [color "branch"] current = yellow reverse local = yellow remote = green [color "diff"] meta = blue frag = magenta old = red new = green [filter "lfs"] clean = git-lfs clean -- %f smudge = git-lfs smudge -- %f required = true process = git-lfs filter-process [alias] # Note: I'm using %ad in the pretty log to see the author's timestamp, as # opposed to %cr which is the commiter's timestamp. I prefer the former # because I sometimes edit an earlier commit message while rebasing and I # want to continue to see the original date. lg = log --graph --pretty=format:'%Cred%h%Creset %C(yellow)%an [%cn]%d%Creset %s %Cgreen(%ad|%cr)%Creset' --date=relative start = !git init && git commit --allow-empty -m \"Initial commit\" [rerere] enabled = true [gc] auto = 0