[user] name = Tony Duckles email = tony@nynim.org [alias] # Simple aliases ci = commit st = status -sb br = branch co = checkout tags = tag -n1 -l # Log helpers ll = log --pretty='format:%C(yellow)%h%Creset %s%C(green bold)%d%Creset %C(black bold)(by %an, %ar)%Creset' graph = log --all --graph --topo-order --pretty='format:%C(yellow)%h%Creset %s %C(black bold)(by %an)%Creset%C(green bold)%d%Creset%n' # Remote helpers in = !git-incoming out = !git-outgoing # Branch helpers bd = !git-branch-dates bv = !git branch --color -vv cv = !git-cherry-view # Diff helpers df = diff dfc = diff --cached dfw = diff --word-diff=color dfcw = diff --cached --word-diff=color # Searching ls = ls-files ack = !git-ack # Submodules sub = !git-subup sup = !git-subup pull # Misc root = rev-parse --show-toplevel who = shortlog -s -- fp = format-patch --stdout patch = !git --no-pager diff --no-color [core] filemode = true logallrefupdates = true whitespace = space-before-tab, trailing-space excludesfile = ~/.gitignore_global pager = diff-pager [interactive] diffFilter = diff-filter [diff] renames = copies algorithm = patience [sendemail] smtpserver = smtp.gmail.com smtpserverport = 587 smtpencryption = tls smtpuser = tony@nynim.org [color] ui = auto [color "diff"] meta = blue bold frag = magenta bold old = red bold new = green bold [color "branch"] current = yellow reverse local = yellow bold remote = green plain = red bold [color "decorate"] branch = green bold remoteBranch = green [color "status"] added = yellow changed = green bold untracked = blue bold [color "diff-highlight"] oldNormal = nobold oldHighlight = red bold newNormal = nobold newHighlight = green bold [push] default = matching