]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - .gitconfig
ack v2.10
[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 track = !git-track
17 incoming = !git-incoming
18 in = !git-incoming
19 outgoing = !git-outgoing
20 out = !git-outgoing
21 # Branch helpers
22 bd = !git-brdate
23 bv = !git branch --color -vv
24 cv = !git-cv
25 subtree = !git-subtree
26 # Diff helpers
27 df = diff --patience
28 dfc = diff --patience --cached
29 dfw = diff --patience --word-diff=plain
30 # Searching
31 ls = ls-files
32 ack = !git-ack
33 # Submodules
34 sub = !git-subup
35 sup = !git-subup pull
36 # Misc
37 root = rev-parse --show-toplevel
38 sh = !git-sh
39 thanks = !git-thanks
40 who = shortlog -s --
41 fp = format-patch --stdout
42
43 [core]
44 filemode = true
45 logallrefupdates = true
46 whitespace = space-before-tab, trailing-space
47 excludesfile = ~/.gitignore_global
48
49 [diff]
50 renames = copies
51
52 [sendemail]
53 smtpserver = smtp.gmail.com
54 smtpserverport = 587
55 smtpencryption = tls
56 smtpuser = tony@nynim.org
57
58 [color]
59 ui = auto
60
61 [color "diff"]
62 meta = blue bold
63 frag = magenta bold
64 old = red bold
65 new = green bold
66
67 [color "branch"]
68 current = yellow reverse
69 local = yellow bold
70 remote = green
71 plain = red bold
72
73 [color "status"]
74 added = yellow
75 changed = green bold
76 untracked = blue bold
77
78 [push]
79 default = matching