]> Tony Duckles's Git Repositories (git.nynim.org) - dotfiles.git/blob - .gitconfig
.gitconfig: Alias ls="ls-files"
[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 track = !git-track
17 incoming = !git-incoming
18 in = !git-incoming
19 outgoing = !git-outgoing
20 out = !git-outgoing
21 # Branch helpers
22 bd = !git-brdate
23 bv = !git branch --color -vv
24 cv = !git-cv
25 subtree = !git-subtree
26 # Diff helpers
27 df = diff --patience
28 dfc = diff --patience --cached
29 # Misc
30 root = rev-parse --show-toplevel
31 sh = !git-sh
32 thanks = !git-thanks
33 who = shortlog -s --
34 sub = !git-subup
35 sup = !git-subup pull
36 fp = format-patch --stdout
37 ls = ls-files
38
39 [core]
40 filemode = true
41 logallrefupdates = true
42 whitespace = space-before-tab, trailing-space
43 excludesfile = ~/.gitignore_global
44
45 [diff]
46 renames = copies
47
48 [sendemail]
49 smtpserver = smtp.gmail.com
50 smtpserverport = 587
51 smtpencryption = tls
52 smtpuser = tony@nynim.org
53
54 [color]
55 ui = auto
56
57 [color "diff"]
58 meta = blue bold
59 frag = magenta bold
60 old = red bold
61 new = green bold
62
63 [color "branch"]
64 current = yellow reverse
65 local = yellow bold
66 remote = green
67 plain = red bold
68
69 [color "status"]
70 added = yellow
71 changed = green bold
72 untracked = blue bold
73
74 [push]
75 default = matching