]> git.phdru.name Git - dotfiles.git/blob - .gitconfig
.gitconfig: remove "beautiful" log format and aliases
[dotfiles.git] / .gitconfig
1 [alias]
2         b = branch
3         checkin = commit
4         ci = commit
5         co = checkout
6         l1 = log --oneline
7         l5 = log -5
8         lg = log --decorate --graph
9         lg1 = log --decorate --graph --oneline
10         lg5 = log --decorate --graph -5
11         st = status --short
12         stb = status --short --branch
13
14 [color]
15         ui = auto
16
17 # Adapted from http://shallowsky.com/blog/programming/gitcolors.html
18 # and http://www.ansdb.com/649-git-colors-for-light-background
19 [color "branch"]
20 #       -- default --
21 #       current = green
22 #       local = normal
23 #       plain = normal
24 #       remote = magenta
25 #       -- light bg --
26         current = blue
27         local = normal
28         plain = normal
29         remote = magenta
30         upstream = normal
31 [color "diff"]
32 #       -- default --
33 #       commit = bold yellow
34 #       frag = cyan
35 #       meta = cyan
36 #       new = green
37 #       old = magenta
38 #       plain = normal
39 #       whitespace = normal red
40 #       -- light bg --
41         commit = normal bold
42         frag = cyan
43         meta = bold
44         new = blue
45         old = magenta
46         plain = normal
47         whitespace = normal red
48 #[color "grep"]
49 #       -- default --
50 #       match = normal
51 [color "decorate"]
52 #       -- light bg --
53         HEAD = blue
54         tag = blue
55 #[color "interactive"]
56 #       -- default --
57 #       error = normal
58 #       header = normal
59 #       help = normal
60 #       prompt = normal
61 [color "status"]
62 #       -- default --
63 #       added = cyan
64 #       changed = magenta
65 #       header = normal
66 #       nobranch = red
67 #       untracked = red
68 #       updated = green
69 #       -- light bg --
70         added = blue
71         changed = blue
72         header = normal
73         nobranch = red
74         untracked = red
75         updated = magenta
76
77 [core]
78         pager = less -FRSXgimq
79
80 [merge]
81         tool = vimdiff
82
83 #[mergetool "vimdiff3"]
84 # Don't forget to add -f for gvim
85 # 3 way diffs
86 #       cmd = vim -d \"$MERGED\" \"$LOCAL\" \"$BASE\" \"$REMOTE\" -c \"wincmd J\"
87
88 [receive]
89         denyNonFastForwards = true
90
91 [web]
92         browser = webbrowser
93
94 [browser "webbrowser"]
95         cmd = webbrowser -n
96
97 [gui]
98         fontui = -family \"DejaVu Sans\" -size 18 -weight normal -slant roman -underline 0 -overstrike 0
99         fontdiff = -family \"DejaVu Sans Mono\" -size 18 -weight normal -slant roman -underline 0 -overstrike 0