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