]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - .gitconfig
bin/git-ack: ack-based replacement for "git grep ..."
[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 # Searching
30 ls = ls-files
31 ack = !git-ack
32 # Submodules
33 sub = !git-subup
34 sup = !git-subup pull
35 # Misc
36 root = rev-parse --show-toplevel
37 sh = !git-sh
38 thanks = !git-thanks
39 who = shortlog -s --
40 fp = format-patch --stdout
41
42 [core]
43 filemode = true
44 logallrefupdates = true
45 whitespace = space-before-tab, trailing-space
46 excludesfile = ~/.gitignore_global
47
48 [diff]
49 renames = copies
50
51 [sendemail]
52 smtpserver = smtp.gmail.com
53 smtpserverport = 587
54 smtpencryption = tls
55 smtpuser = tony@nynim.org
56
57 [color]
58 ui = auto
59
60 [color "diff"]
61 meta = blue bold
62 frag = magenta bold
63 old = red bold
64 new = green bold
65
66 [color "branch"]
67 current = yellow reverse
68 local = yellow bold
69 remote = green
70 plain = red bold
71
72 [color "status"]
73 added = yellow
74 changed = green bold
75 untracked = blue bold
76
77 [push]
78 default = matching