]> ruderich.org/simon Gitweb - config/dotfiles.git/blob - gitconfig.m4
gitconfig: Automatically detect copies and renames.
[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 [alias]
19         # Shortcuts for often used commands.
20         c  = commit -v
21         ci = commit -v
22         d  = diff
23         di = diff
24         s  = status
25         st = status
26         l  = log
27         a  = add
28         co = checkout
29         b  = branch -av
30         br = branch -av
31         m  = merge
32         me = merge
33         f  = fetch
34         fe = fetch
35         p  = push
36         pu = push
37         # Custom commands.
38         fs = fsck --strict --full
39         glog = log --pretty=oneline --graph --all
40         ss = stash save
41         sa = stash apply
42         sl = stash list
43
44 [diff]
45         # Detect copies and renames.
46         renames = copy
47
48 [merge]
49 IF(OS, darwin)
50         tool = opendiff
51 FI
52 IF(OS, debian)
53         tool = vimdiff
54 FI
55
56 # vim: ft=gitconfig