]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - .gitconfig
.screenrc: Lower-contrast hardstatus colors and show sessionname
[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 sup = !git-subup
35 fp = format-patch --stdout
36
37 [core]
38 filemode = true
39 logallrefupdates = true
40 whitespace = space-before-tab, trailing-space
41 excludesfile = ~/.gitignore_global
42
43 [diff]
44 renames = copies
45
46 [sendemail]
47 smtpserver = smtp.gmail.com
48 smtpserverport = 587
49 smtpencryption = tls
50 smtpuser = tony@nynim.org
51
52 [color]
53 ui = auto
54
55 [color "diff"]
56 meta = blue bold
57 frag = magenta bold
58 old = red bold
59 new = green bold
60
61 [color "branch"]
62 current = yellow reverse
63 local = yellow bold
64 remote = green
65 plain = red bold
66
67 [color "status"]
68 added = yellow
69 changed = green bold
70 untracked = blue bold
71
72 [push]
73 default = matching