]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - .gitconfig
.vim/bundle: Update vim bundle submodules
[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 --patience
24 dfc = diff --patience --cached
25 dfw = diff --patience --word-diff=plain
26 # Searching
27 ls = ls-files
28 ack = !git-ack
29 # Submodules
30 sub = !git-subup
31 sup = !git-subup pull
32 # Misc
33 root = rev-parse --show-toplevel
34 who = shortlog -s --
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 "decorate"]
68 branch = green bold
69 remoteBranch = green
70
71 [color "status"]
72 added = yellow
73 changed = green bold
74 untracked = blue bold
75
76 [push]
77 default = matching