]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - gitconfig.m4
tigrc: Use relative dates.
[config/dotfiles.git] / gitconfig.m4
1 # Global Git configuration file.
2
3
4 dnl Load m4 macros.
5 include(../lib.m4)
6
7 [user]
8         name = Simon Ruderich
9         email = simon@ruderich.org
10
11 [color]
12         ui = auto
13
14 [core]
15         editor = vim
16         excludesfile = GITIGNORE
17
18         # Use pager for the following commands.
19 [pager]
20         status = yes
21         clean = yes
22
23 [alias]
24         # Shortcuts for often used commands.
25         c  = commit -v
26         ci = commit -v
27         d  = diff
28         di = diff
29         s  = status
30         st = status
31         l  = log
32         a  = add
33         co = checkout
34         b  = branch -av
35         br = branch -av
36         m  = merge
37         me = merge
38         f  = fetch
39         fe = fetch
40         p  = push
41         pu = push
42         # Custom commands.
43         fs = fsck --strict --full
44         glog = log --pretty=oneline --graph --all
45         ss = stash save
46         sa = stash apply
47         sl = stash list
48
49 [diff]
50         # Detect copies and renames.
51         renames = copy
52
53 [merge]
54 IF(OS, darwin)
55         tool = opendiff
56 FI
57 IF(OS, debian)
58         tool = vimdiff
59 FI
60
61 # vim: ft=gitconfig