]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - .gitconfig
.vimrc: Tweak StatusLineNC colors
[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 # Misc
30 root = rev-parse --show-toplevel
31 sh = !git-sh
32 thanks = !git-thanks
33 who = shortlog -s --
34 sub = !git-subup
35 sup = !git-subup pull
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