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