chiark / gitweb /
dot/inputrc: Wow, readline can do bracketd-paste.
[profile] / dot / gitconfig.in
CommitLineData
5622a4e0
MW
1### -*-conf-*-
2### Git configuration
3
5d2b7dab
MW
4[core]
5 filemode = true
73165cde 6 excludesfile = @profile@/git/gitignore
d3f879c6 7 attributesfile = @profile@/git/attributes
37dfb719 8 whitespace = trailing-space,space-before-tab,indent-with-non-tab
5d2b7dab 9
ad43d821
MW
10[user]
11 name = Mark Wooding
7dc35f04 12 email = mdw@distorted.org.uk
ce178f96 13 signingkey = @releasekey@
ad43d821 14
3c40e452
MW
15[annex]
16 sshcaching = false
17
ad43d821
MW
18[merge]
19 summary = true
547fb8af 20 tool = emerge
5ffa4795 21 conflictStyle = diff3
547fb8af
MW
22
23[mergetool "emerge"]
24 path = emerge-hack
ad43d821
MW
25
26[diff]
ad43d821 27 renames = copies
755f6621 28 renameLimit = 1024
ca475e8d 29 wordRegex = [[:alnum:]]+|[^[:space:][:alnum:]]
e818009e 30
2a39ff36 31[diff "lisp"]
085ca2e7 32 xfuncname = "^((\\(|\\s*\\(def).*$)"
2a39ff36 33
3b73ac92
MW
34[log]
35 date = rfc
36 decorate = true
0e511e25 37 follow = true
a965d521 38 mailmap = true
3b73ac92 39
518aede4
MW
40[rebase]
41 autosquash = true
42
da0af0a9
MW
43[push]
44 default = matching
67b5b0ce 45 followTags = true
da0af0a9 46
5d2b7dab
MW
47[format]
48 headers = "Organization: Straylight/Edgeware\n"
49
e818009e 50[color]
3b73ac92 51 ui = auto
5d2b7dab
MW
52
53[color "diff"]
54 plain = normal
55 meta = bold
8b6bc589
MW
56 new = green
57 old = red
5d2b7dab
MW
58 commit = bold yellow
59 whitespace = reverse red
60
49f353d7 61[color "interactive"]
726466db
MW
62 prompt = bold yellow
63 header = bold
64 help = green
65 error = bold red
49f353d7 66
5d2b7dab
MW
67[color "status"]
68 header = bold
69 added = bold green
70 changed = bold blue
71 untracked = bold red
72
73[color "branch"]
74 current = bold
75 local = normal
76 remote = cyan
77
49f353d7
MW
78[color "grep"]
79 external = --color=always
80
bd67e4dc
MW
81[pager]
82 log = perl /usr/share/doc/git/contrib/diff-highlight/diff-highlight | less
83 show = perl /usr/share/doc/git/contrib/diff-highlight/diff-highlight | less
84 diff = perl /usr/share/doc/git/contrib/diff-highlight/diff-highlight | less
85
5d2b7dab
MW
86[alias]
87 egrep = "grep -E"
88 patch = "format-patch -o p -s"
3b73ac92 89 graph = "log --pretty=oneline --abbrev-commit --graph"
7e2c05e9 90 release = !"sh -e -c ' \
cef39ac8 91 [ $# -gt 0 ] || { \
5622a4e0 92 echo >&2 \"usage: git release TAG [OPTS]\"; \
cef39ac8
MW
93 exit 1; \
94 }; \
5622a4e0 95 git tag -as -m \"Release $1.\" \"$@\"' release"
6fc9ca84 96 amend = !"env EDITOR=true VISUAL=true git commit --amend -a"
5622a4e0
MW
97 spaces = !"sh -e -c 'git ls-files -z \"$@\"| \
98 xargs -0r space -cv' spaces"
5d2b7dab
MW
99 mailto = "send-email \
100 --quiet \
101 --no-chain-reply-to \
102 --no-signed-off-by-cc \
103 --to"
9931fa54 104 files = "ls-files --exclude-standard"
307d3be5
MW
105 unstg = !"sh -e -c ' \
106 : ${GIT_DIR=$(git rev-parse --git-dir)}; \
107 if [ $# -eq 0 ]; then set -- \"$(stg branch)\"; fi; \
108 for branch; do \
109 rmdir \"$GIT_DIR/patches/$branch/patches\"; \
110 rm -rf \"$GIT_DIR/patches/$branch\"; \
111 git for-each-ref -s \
112 --format \"git update-ref -d %(refname) %(objectname)\" \
113 \"refs/patches/$branch\" \"refs/bases/$branch\" | \
114 sh -e; \
115 done' unstg"
f13876a5 116
f4daab03
MW
117[rerere]
118 enabled = yes
5ccb9ae3 119 autoupdate = yes
f4daab03 120
75d08fb2
MW
121[stgit]
122 autoresolved = yes
123 smtpdelay = 0
124
f13876a5
MW
125[mail "alias"]
126 git = git@vger.kernel.org
127 mdw = mdw@distorted.org.uk
547fb8af 128
560a4aa7 129[sendemail]
73165cde
MW
130 from = Mark Wooding <mdw@distorted.org.uk>
131 aliasesfile = @profile@/dot/mailrc
132 aliasfiletype = mailrc
560a4aa7 133 chainreplyto = no
73165cde
MW
134 signedoffbycc = yes
135 suppresscc = self
560a4aa7 136
ecaa0c5b 137[gui]
f444229a 138 fontui = -family Sans -size 10
a6780078 139 fontdiff = -family Fixed -size 13
e6a7e588
MW
140
141[http]
142 cookiefile = @home@/.gitcookies