]> git.phdru.name Git - dotfiles.git/blob - .gitconfig
83f1bee08ceccdc61ab4232747a6539ff210b55f
[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         lb = log --decorate --graph --stat --pretty=beautiful
9         lb5 = log --decorate --graph --stat --pretty=beautiful -5
10         st = status -s
11
12 [pretty]
13         beautiful = format:%Cblue%h%Creset (%ar - %Cgreen%aN <%aE>%Creset)%n%B%n
14
15 [color]
16         ui = auto
17
18 [color "branch"]
19 #       -- default --
20 #       current = green
21 #       local = normal
22 #       plain = normal
23 #       remote = red
24 #       -- light bg --
25         current = blue
26         remote = magenta
27 [color "diff"]
28 #       -- default --
29 #       commit = yellow
30 #       frag = cyan
31 #       meta = bold
32 #       new = green
33 #       old = red
34 #       plain = normal
35 #       whitespace = normal red
36 #       -- light bg --
37         commit = normal bold
38         frag = green
39         new = blue
40         old = magenta
41 #[color "grep"]
42 #       -- default --
43 #       match = normal
44 #[color "interactive"]
45 #       -- default --
46 #       error = normal
47 #       header = normal
48 #       help = normal
49 #       prompt = normal
50 [color "status"]
51 #       -- default --
52 #       added = red
53 #       changed = red
54 #       header = normal
55 #       nobranch = red
56 #       untracked = red
57 #       updated = green
58 #       -- light bg --
59         added = blue
60         changed = blue
61         updated = magenta
62
63 [core]
64         pager = less -FRSXgimq
65
66 [merge]
67         tool = vimdiff
68
69 #[mergetool "vimdiff3"]
70 # Don't forget to add -f for gvim
71 # 3 way diffs
72 #       cmd = vim -d \"$MERGED\" \"$LOCAL\" \"$BASE\" \"$REMOTE\" -c \"wincmd J\"
73
74 [receive]
75         denyNonFastForwards = true
76
77 [web]
78         browser = webbrowser
79
80 [browser "webbrowser"]
81         cmd = webbrowser -n
82
83 [gui]
84         fontui = -family \"DejaVu Sans\" -size 18 -weight normal -slant roman -underline 0 -overstrike 0
85         fontdiff = -family \"DejaVu Sans Mono\" -size 18 -weight normal -slant roman -underline 0 -overstrike 0