]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - .gitconfig
.bashrc: Cleanup path helper functions
[dotfiles.git] / .gitconfig
1 [user]
2 name = Tony Duckles
3 email = tony@nynim.org
4
5 [alias]
6 # Simple aliases
7 ci = commit
8 st = status -sb
9 br = branch
10 co = checkout
11 tags = tag -n1 -l
12 # Log helpers
13 ll = log --pretty='format:%C(yellow)%h%Creset %s%C(green bold)%d%Creset %C(black bold)(by %an, %ar)%Creset'
14 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'
15 # Remote helpers
16 in = !git-incoming
17 out = !git-outgoing
18 # Branch helpers
19 bd = !git-branch-dates
20 bv = !git branch --color -vv
21 cv = !git-cherry-view
22 # Diff helpers
23 df = diff
24 dfc = diff --cached
25 dfw = diff --word-diff=color
26 dfcw = diff --cached --word-diff=color
27 # Searching
28 ls = ls-files
29 ack = !git-ack
30 # Submodules
31 sub = !git-subup
32 sup = !git-subup pull
33 # Misc
34 root = rev-parse --show-toplevel
35 who = shortlog -s --
36 fp = format-patch --stdout
37 patch = !git --no-pager diff --no-color
38
39 [core]
40 filemode = true
41 logallrefupdates = true
42 whitespace = space-before-tab, trailing-space
43 excludesfile = ~/.gitignore_global
44 pager = diff-pager
45
46 [interactive]
47 diffFilter = diff-filter
48
49 [diff]
50 renames = copies
51 algorithm = patience
52
53 [sendemail]
54 smtpserver = smtp.gmail.com
55 smtpserverport = 587
56 smtpencryption = tls
57 smtpuser = tony@nynim.org
58
59 [color]
60 ui = auto
61
62 [color "diff"]
63 meta = blue bold
64 frag = magenta bold
65 old = red bold
66 new = green bold
67
68 [color "branch"]
69 current = yellow reverse
70 local = yellow bold
71 remote = green
72 plain = red bold
73
74 [color "decorate"]
75 branch = green bold
76 remoteBranch = green
77
78 [color "status"]
79 added = yellow
80 changed = green bold
81 untracked = blue bold
82
83 [color "diff-highlight"]
84 oldNormal = nobold
85 oldHighlight = red bold
86 newNormal = nobold
87 newHighlight = green bold
88
89 [push]
90 default = matching